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...


How can I right-justify a string?


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

Post New Answer

More Core Java Interview Questions

How many types of methods are there?

0 Answers  


Are constructors methods?

0 Answers  


How many objects are created when we create String class object using new operator?

9 Answers   Mind Tree,


What is the difference between multitasking and multithreading in Java

0 Answers   Sans Pareil IT Services,


What ide should I use for java?

0 Answers  


What does the exclamation mark mean in java?

0 Answers  


Explain difference between final, finally and finalize?

3 Answers   Cognizant,


What does replaceall do in java?

0 Answers  


How can you read content from file in java?

0 Answers   HCL,


Explain inner classes ?

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  


Which of the following classes will have more memory allocated?

0 Answers  


Categories