What is the longest unicode character?
No Answer is Posted For this Question
Be the First to Post Answer
Can we execute a program without main?
Is it compulsory to have atleast one abstract method in abstract class?
You're given a Boolean 2D matrix, can you find the number of islands?
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.
Without creating a new object, How you can retrieve a String or other object?
What are the standards to place package statement within a source code file?
What about anonymous inner classes in java?
For class CFoo { }; what default methods will the compiler generate for you>?
What is use of map in java?
How many classes can any class inherit java?
What is thread life cycle?
Can you explain the private protected field modifier?