Explain jdk, jre and jvm?
No Answer is Posted For this Question
Be the First to Post Answer
What is autoboxing and unboxing?
Is oracle charging for java?
What is main difference between variable and constant?
What is the use of collections in java? How it is implemented in real time applications?
What will be the default values of all the elements of an array defined as an instance variable?
What is the method in java?
Can we convert stringbuilder to string in java?
What is the difference between a local variable and an instance variable?
they asked class A{} class B{} class c{} all the three class saved as a single file,there is no main method in the file and anothe class M.java class m { psvm(String args[]) { // here the parent class can access } }
2 Answers DNS, IPSR Solutions,
Why do we need autoboxing in java?
1.) if we use "private" in place of "public" in public static void main()... 2.) if we use "int" in place of "void".... 3.) can we ommit "static" keyword from that statement.... 4.) also can we give the command line arguments type as int type or float,etc.(.i.e (string args[]))
What occurs when an object is constructed?