What is Constructor
What is Constructor A constructor is a member function with a name same as that of the class name used to initialize the instant variable of objects. Need of using … Read More
What is Constructor A constructor is a member function with a name same as that of the class name used to initialize the instant variable of objects. Need of using … Read More
Whether Java is pure object oriented Language? Java is not a pure object oriented language as it contains primitive data types ex:- int,long,bool,float. Can we make our program 100% … Read More
How to do java in command prompt? How to compile and run Java program Here we will see how to write, compile and run Java program. public class Firstjavaprogram{ public … Read More
Why to set class path in java It is necessary to set the path to use tools like javac, java, etc. If you are saving java source file inside JDK/bin … Read More
Does java allows multiline comments Java comments are statements that are not executed by the compiler and interpreter. Comments are used to provide information or explanation about a variable, method, … Read More
What is Java java is an object oriented programming language and Java was invented by James Gosling and his associates at Sun Microsystems in 1991. The real name of Java … Read More
Different between Advanced Java & Core Java Core Java Core Java is a fundamental form of the Java Programming Language itself. Also, we use Core Java in all Java platforms … Read More
What is Mergesort:- Mergesort is an efficient sorting algorithm which work on Divide and Conquer method like Quicksort. In this algorithm we continuously divide the input array in two halves … Read More