What is difference between identifier and variable?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Different types of Layouts?

11 Answers  


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.

6 Answers  


What is the use of collections in java? How it is implemented in real time applications?

2 Answers  


How do you detect memory leaks?

0 Answers  


What is difference between length and length() method in java ?

0 Answers  


Why are the methods of the Math class are static?

1 Answers  


How do you decide when to use arraylist and linkedlist?

0 Answers  


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?

2 Answers  


Is class forname reflection?

0 Answers  


What are the advantages of inner classes?

0 Answers  


What is the main purpose of serialization in java?

0 Answers  


Categories