Can long be null in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is the use of ?this??

4 Answers  


what is life cycle of applet?

9 Answers  


Given: 10. interface A { void x(); } 11. class B implements A { public void x() { } public voidy() { } } 12. class C extends B { public void x() {} } And: 20. java.util.List list = new java.util.ArrayList(); 21. list.add(new B()); 22. list.add(new C()); 23. for (A a:list) { 24. a.x(); 25. a.y();; 26. } What is the result? 1 Compilation fails because of an error in line 25. 2 The code runs with no output. 3 An exception is thrown at runtime. 4 Compilation fails because of an error in line 20.

3 Answers  


What is string intern in java?

0 Answers  


What are the different types of java?

0 Answers  






What is an example of declaration?

0 Answers  


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

0 Answers   Amdocs,


What class of exceptions are generated by the java run-time system?

0 Answers  


Can string be considered as a keyword?

0 Answers  


what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }

3 Answers   TCS,


What is difference between arraylist and list in java?

0 Answers  


How can we find the actual size of an object on the heap?

0 Answers  


Categories