What is == in java?


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

Post New Answer

More Core Java Interview Questions

Does java support function overloading, pointers, structures, unions or linked lists?

0 Answers  


What is the common usage of serialization? What exceptions occur during serialization?

0 Answers  


interface X{ void m1(); void m2(); } class Child2 extends Object implements X { public void m1(){ System.out.println("Child2 M1"); } public void m2(){ System.out.println("Child2 M2"); } } public class ParentChildInfterfaceDemo { public static void main(String[] args){ X x = new Child2(); X x1 = new Child2(); x.m1(); x.m2(); x.equals(x1); } } Will the above code work? If yes? Can you please explain why the code x.equals(x1) will work as the equals method is called on interface reference vaiable?

2 Answers  


What is java basic concept?

0 Answers  


what is the final keyword denotes in java?

0 Answers   IBS,


Is class forname reflection?

0 Answers  


I need some details about an employee. i have only the employee id in my presentation layer(JSP).I entered that ID and click "Show Details" Button. Question is how the JSP pass that id to Controller layer and DAO and what mechanism we are using to retrive data from DB and how the data passed to JSP as a Output. Please explain in detail.

1 Answers   TCS,


my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??

1 Answers  


What is singleton class and how can we make a class singleton?

0 Answers  


What is the difference between constructor and method?

4 Answers  


Explain Event handling in AWT?

1 Answers   Infosys, TCS,


What are the different types of inner classes?

0 Answers  


Categories