What is equals method in java?
No Answer is Posted For this Question
Be the First to Post Answer
How to make a read-only class in java?
Is array a class?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
What is meant by local variable and instance variable?
Is set thread safe java?
What is a lock or purpose of locks in java?
What is style and indentation?
What is an infinite loop?
What is the difference between method and means?
when you will synchronize a piece of your code? : Java thread
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.
what is translator and it types