Can long be null in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is the use of ?this??
what is life cycle of applet?
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.
What is string intern in java?
What are the different types of java?
What is an example of declaration?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
What class of exceptions are generated by the java run-time system?
Can string be considered as a keyword?
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; } }
What is difference between arraylist and list in java?
How can we find the actual size of an object on the heap?