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 really hapens when a object is created using new
operator?
1.is it allocates memory to all variables and methods in
the class with reference to that object?

Answers were Sorted based on User's Feedback



what really hapens when a object is created using new operator? 1.is it allocates memory to all v..

Answer / aaa

it allocates the memory to the variables which belongs to
that object.

Is This Answer Correct ?    9 Yes 0 No

what really hapens when a object is created using new operator? 1.is it allocates memory to all v..

Answer / seshu godavarthi

when we created an object with new operator it tells the
compiler to allocate a memory for the particular object

Is This Answer Correct ?    2 Yes 0 No

what really hapens when a object is created using new operator? 1.is it allocates memory to all v..

Answer / joker

more precisely to non static variables..

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Core Java Interview Questions

Print Vertical traversal of a Binary Tree.

0 Answers   Amazon,


Explain the private field modifier?

0 Answers  


How hashmap increases its size in java?

0 Answers  


Difference between interface and abstract class with ex.

4 Answers   Cognizant, Tech Mahindra,


What are the types of loops in Java, and how are they used?

2 Answers  


What is the difference between a break statement and a continue statement?

0 Answers  


What is a super method?

0 Answers  


what is object slice?

2 Answers   HTC, TCS,


Which method cannot be overridden in java?

0 Answers  


Explain notifyall() method of object class ?

0 Answers  


How to make a class or a bean serializable?

0 Answers  


What is append function?

0 Answers  


Categories