How java is similar to c?


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

Post New Answer

More Core Java Interview Questions

What is difference between hashset and hashmap?

0 Answers  


What is formatted output in java?

0 Answers  


What is collection api?

0 Answers  


Can we assign integer value to char in java?

0 Answers  


1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread?

3 Answers   TCS,


Can a private method be declared as static?

0 Answers   Global Logic,


What is reflexive association?

1 Answers   Infogain,


What is the preferred size of a component?

3 Answers   ITSA,


When is the garbage collection used in Java?

0 Answers   BirlaSoft,


What does java final mean?

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 an enumeration?

0 Answers  


Categories