What are heterogeneous objects?
No Answer is Posted For this Question
Be the First to Post Answer
What is an immutable class?
Explain yield() method in thread class ?
Can we use a switch statement with strings?
If try block is successfully executed, Then Is Finally block executed?
What do you understand by the bean persistent property?
What is your platform?s default character encoding and how to know this?
Why unicode is important?
Is array dynamic in java?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application
What is functional interface in java?
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.