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


What is the difference between Object and Instance?

Answers were Sorted based on User's Feedback



What is the difference between Object and Instance?..

Answer / siva

instance means non-static variables memory location. Object means non-static variables + non-static methods memory location

Is This Answer Correct ?    11 Yes 1 No

What is the difference between Object and Instance?..

Answer / titupathirao

For example, if I declare a class like

Animal a=new Animal();

Is variable 'a' in above is an instance which has an object of Animal type?

Is This Answer Correct ?    1 Yes 0 No

What is the difference between Object and Instance?..

Answer / subba reddy

object means.
just create variable for class this is also called reference.

instance means.

create object for the class using new operator or new instance .

Is This Answer Correct ?    2 Yes 3 No

What is the difference between Object and Instance?..

Answer / nagarjuna

Object is the creating memory location by using new operator
Instance is the creating the reference.

Is This Answer Correct ?    1 Yes 4 No

What is the difference between Object and Instance?..

Answer / srinivaskumar.nimmana

All objects except array object are instances,i.e every object except array object can be instance but every instance may not be object.

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More Core Java Interview Questions

What is an example of declaration?

0 Answers  


. Explain Java String Pool.

1 Answers  


What is the base class of all exception classes in java?

0 Answers  


What is the same as procedures?

0 Answers  


Explain about public and private access specifiers?

0 Answers  


What are the main differences between the java platform and other platforms?

0 Answers  


What are the advantages and disadvantages of reference counting in garbage collection?

0 Answers  


why String class is immutable.

5 Answers   iGate,


What are the types of java languages?

0 Answers  


where the static methods will live ,on stack ? can you explain brefly

1 Answers  


What is an abstract class and what is it’s purpose?

0 Answers  


What does pointer mean?

0 Answers  


Categories