what is an object and how do you allocate memory to it?

Answer Posted / devarathnam

Hi... An object is nothing but instance of the class,or
basic run-time entity.By using "new" operator we can
allocate the memory of an object

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is boolean a data type in java?

523


Explain about sets?

570


What does java edition mean?

538


What is the arraylist in java?

532


What do you mean Abstraction in java?

611






What is a boolean field?

531


Why call by value prevents parameter value change?

585


What is natural ordering in java?

530


What are the basic concepts of OOPS in java?

570


What is matcher in java?

518


Explain a few methods of overloading best practices in java?

512


What must a class do to implement an interface in java programming?

540


What is meant by 'bit masking' in java?

648


Why is a constant variable important?

503


Why declare Main() inside the class in java ?

606