java.lang.Object is the super class for all the Java objects. i.e.; every class extends to java.lang.Object by default. So, all the methods that are available in java.lang.Object class will be availab...
Java
Java is a very popular programming language for developing different scale applications. Java can be used to develop various different kind of applications i.e.; a desktop application, mobile application, web application etc.
Java is an object oriented programming language developed by Sun Microsystems in 1995.
Learn more about Java evolution
As you might already know, we can use various APIs (generally Java Beans Components) provided by various vendors to carryout the tasks like printing, dealing with fax messages, scanning the images, ac...
Perfect number: A number is called as perfect number when the sum of all it's factors divided by 2 gives the same number as a result. It's very simple, look at below expression (sum of all factors of...
CloningCloning is actually a biological term. It is the process of obtaining exact copy of a plant or a bird or an animal. This process happens by duplicating the source DNA. The first cloned sheep is...
Javasoft has introduced generics data types as part of 1.5. This is one of the major items as part of this release.Generic types or parameterized typesWriting classes,interfaces and methods in a type ...
The value of fetch size is used to decide about the no. of rows that will be transferred between the database server and the client at a point of time.If we set the fetch size to 10, the JDBC driver w...
Java objects are classified into "Mutable objects" and "Immutable objects".1. Mutable objects:Mutable objects are those objects whose contents can be modified. i.e.; when an object is created, values ...
A string represents a group of characters. Strings are "String" class objects in Java.Creating Strings1. We can create a string by declaring and initializing a String class object directly. Eg: String...
Consider the below codepublic class LongPuzzle{ public static void main(String args[]) { int a = 0123; int b = 3210; System.out.println(a+b); }}What is the result?Have you answered 4444? N...
Binary search is the advanced version of a linear search and Binary search logic is built to give a best optimum solution to search for an element in the list of values.