What are the legal operands of the instanceof operator?
No Answer is Posted For this Question
Be the First to Post Answer
what is the difference between HashMap and Hashtable
17 Answers Value Labs, Virtusa,
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
what is object slice?
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 are Inner classes?
Can Java be said to be the complete object-oriented programming language
What is the use of :: in java?
What does ide stand for?
what is the Arraylist limit (maximum) by default ?
13 Answers Fidelity, PlanetSoft, Wipro,
How are this() and super() used with constructors in java programming?
what are the disadvantages of indexes in oracle?
0 Answers 3i Infotech, Wells Fargo,
Why parameters should be passed by reference?