Explain about core java?
No Answer is Posted For this Question
Be the First to Post Answer
Given: 11. public static void main(String[] args) { 12. Integer i = uew Integer(1) + new Integer(2); 13. switch(i) { 14. case 3: System.out.println(”three”); break; 15. default: System.out.println(”other”); break; 16. } 17. } ‘What is the result? 1 three 2 other 3 An exception is thrown at runtime. 4 Compilation fails because of an error on line 12.
Which variable is the independent variable?
what is wrapper class and its uses?
What is Applet Flickering ?
1 Answers Infosys, Persistent,
Every class extends object but why it is not possible for every object to invoke clone() method. ideally protected methods should be accessible from sub classes. isn't it?
Can we have return statement in finally clause? What will happen?
Is a string literal?
Explain about the performance aspects of core java?
What is return type in java?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
what is difference between class and object?
43 Answers College School Exams Tests, HCL,
How many bits is a string in java?