What is anonymous inner class?


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

Post New Answer

More Core Java Interview Questions

Differentiate between stringbuffer and stringbuilder in java.

0 Answers  


What is the final blank variable?

0 Answers  


what is meant by abstract class?

0 Answers   Aspire,


Is arraylist zero based?

0 Answers  


Can a constructor be made final?

0 Answers  






Which is better list or arraylist in java?

0 Answers  


If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?

5 Answers  


what is the use of clone() in real time scenario?

2 Answers   Quinnox,


What is the purpose of void?

0 Answers  


Difference between a Canvas and a Scroll Pane?.

1 Answers   NIIT,


Which class has no duplicate elements?

8 Answers  


How to provide security in java

0 Answers   Infosys, TCS, Tech Mahindra,


Categories