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

Answer Posted / venkatesh

object is a run time entity.by using new keyword we can
allocate memory to it.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give the hierarchy of inputstream and outputstream classes.

699


What is the difference between notify and notifyall method?

716


Is it possible to use string in the switch case?

632


What is the program development process?

652


What's the default access specifier for variables and methods of a class?

610






What is the use of string and stringbuffer?

669


Is arraylist dynamic in java?

615


what are the high-level thread states? : Java thread

664


Why we use protected in java?

630


What is the need of transient variables in Java ?

681


Are arrays dynamic in java?

637


What is java lang object?

607


What is stack example?

652


How will you serialize a singleton class without violating singleton pattern?

1610


When should we create our own custom exception classes?

686