Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Is null in java?


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

Post New Answer

More Core Java Interview Questions

what invokes a threads run() method? : Java thread

0 Answers  


What is constructor and virtual function? Can we call a virtual function in a constructor?

0 Answers  


In a class implementing an interface, can we change the value of any variable defined in the interface?

0 Answers  


What is the use of predicate in java 8?

0 Answers  


What is the += operator called?

0 Answers  


What is a parameter used for?

0 Answers  


Difference between vector and arraylist.

0 Answers  


How many types of literals are there in JAVA?

0 Answers   Cap Gemini,


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 are non-access modifiers?

2 Answers   Cognizant,


How many digits is int32?

0 Answers  


Explain the access modifiers for a class, method and variables?

0 Answers   Global Logic,


Categories