What is difference between identifier and variable?
Different types of Layouts?
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 the use of collections in java? How it is implemented in real time applications?
How do you detect memory leaks?
What is difference between length and length() method in java ?
Why are the methods of the Math class are static?
How do you decide when to use arraylist and linkedlist?
what is bmg file and how to create that files?what will it contailn?
0 Answers HCL, Probe Services,
What is the difference between throw and throws? What is the similarity between try and throw?
Is class forname reflection?
What are the advantages of inner classes?
What is the main purpose of serialization in java?