answersLogoWhite

0

In java a class will take memory?

User Avatar

Anonymous

15y ago
Updated: 8/17/2019

Yes, executing a Java class will require memory just like any other program.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What are objects in java?

Object is like a variable of the class type which references the memory required by the attributes of the class.


How garbage collector works on anonymous class in java?

about the garbage collector it is in java and it is mainly responsible for dynamic memory manegement


How you allocate the memory in java?

In Java we need not allocate memory manually. The JVM would take care of allocating as much memory that your objects would require automatically.


What is an object in Java?

object is an instance of a class. it's used to allocate memory dynamically at run time to access class members.


Extension file for Java?

Java source files have the .java extension, compiled Java class files have the .class extension.


What is memory leak problemin java?

Memory leaks do not occur in Java as the garbage collector clears the memory which has no references.


The actions in a java class are called?

The actions in a java class are called methods.


Why can't a c plus plus class be derived from a Java class?

I don't see why it couldn't be. Unless the Java class uses techniques or methods which are available to Java but not C++, then there is no reason that a C++ class couldn't be based on a Java class.


Why you start java program by class?

without class non of the folder can run so the java program should start in class we can use the class without object in java


How do you find the size of a class object?

Java does not have a sizeOf() operator and hence there is no way we can actually determine the size of a java class object. However we can analyze the overall heap space utilization to try to get an approximate indication of how much memory is used by an object but it is not accurate.


How do you call main class with in main class in java?

We can't call a class. We always call a method in java.


When java uses compiler?

What i know is java we will use compiler when it want to get class file(file with .class extension) from java file(file with .java extension).