What all access modifiers are allowed for top class ?
No Answer is Posted For this Question
Be the First to Post Answer
why the equals method can be override?when we override the equals method?
How java enabled high performance?
Can list contain null in java?
List out five keywords related to exception handling ?
What happens if constructor is private?
What is a copy constructor in java?
What is JAVA? Why it is platform independent?
Explain java coding standards for methods?
What is the r character?
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.
Which sorting is best in java?
Realized?