Does java return by reference?
No Answer is Posted For this Question
Be the First to Post Answer
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.
Explain the use of javap tool.
What do you know about the garbage collector in java?
worst case complexities of Quick sort and Merge sort.
What is the difference between synchronized and synchronized block?
What is object in java?
Can I override protected method in java?
int a=1; float b=1.0; System.out.println(a==b);
13 Answers CTS, Honeywell, McAfee,
What is a loop java?
What is the difference between jsp and servlet?
What happens if we override only equals?
What is the difference between exception and error in java?