What is the difference between abstract class and interface1? What is an interface?


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

Post New Answer

More Core Java Interview Questions

Is java written in c?

0 Answers  


what is difference betwenn Access Specifier and Access Modifier ????

2 Answers  


What is keyword auto for?

0 Answers  


how to use this key word in java programming?

7 Answers  


Is java a super set of javascript?

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  


How to eliminate duplicates from an array?

6 Answers   ABC, AdMod, Adobe, College School Exams Tests, Patni, Wipro,


Explain the difference between an Interface and an Abstract class?

0 Answers   BirlaSoft,


Why string is popular hashmap key in java?

1 Answers  


Which of these methods belong to Thread & Object class? join, yield, sleep, wait, notify

3 Answers   Ericsson,


What is persistence ?

2 Answers  


When do you call copy constructor?

0 Answers   Tavant Technologies, Virtusa,


Categories