What are the differences between Java 1.0 and Java 2.0?
No Answer is Posted For this Question
Be the First to Post Answer
Can a final method be overloaded?
What is finally in exception handling?
What is the minimum and maximum length of an identifier?
What data type is string java?
Is string thread safe in java?
What do you mean by local variable and instance variable?
What are the four versions of java?
java program with complete 4 oops concepts implemented example
What about abstract classes in java?
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.
Can we create a class inside a class in java?
What is the difference between member variables initialization and assignment in a constructor?