answersLogoWhite

0

An object

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is importance of static variable?

The static modifier tells the system that this particular variable belongs to the class and does not belong to any specific instance of the same. The class will contain only one instance of the static variable irrespective of how many objects of the class you create.


What is difference between instance variable and class variable in java?

The main difference between the class variable and Instance variable is, first time, when class is loaded in to memory, then only memory is allocated for all class variables. Usually static variables are called class variables. These variables are available throughout the execution of the application and the values are common to the class. You can access them directly without creating an object of the class. Instance variables are normal variables declared in a class, that would get initialized when you create an instance of the class. Every instance of the class would have a copy of the variable and you need a class instance (object) to access these variables


What is the definition of instances?

One can have an instance of a class or a particular object. The instance is the actual object created at runtime. In programmer jargon, the Lassie object is an instance of the Dog class. The set of values of the attributes of a particular object is called its state. The object consists of state and the behaviour that's defined in the object's class.


WHAT IS A specific instance of a class is called?

Specific instance of a class is called object of that class.


What is current instance in java?

Instance refers to one item of a particular type. for ex: you are one instance of a human, similarly I am one instance of human. An instance in object oriented terms refers to one item of a particular object type.


What do you mean by Get instance?

It means create an object for a class. Instance refers to the obj of a class.


What do you mean by instance of the class?

I have no idea. Was going to ask you the same question...An instance method represent the behavior of an object


How all objects will share single method copy?

A "static" method belongs to the class, not to any particular instance. So make it static method.


Java Which access modifier is preferred for instance variables?

Usually Private is the preferred access modifier for instance variables. Benefits: 1. No other class can access this variable directly. They can do only through the getter/setter methods 2. Only the methods in that particular class can use this variable


What are instance variables?

These are normal variables declared within a class that are attached to an object instance of a class.


What is the difference between classes and object in C?

An object is an INSTANCE of a class. Human is a class, while YOU are a person, an instance of Human class, but YOU do not represent the entire human class. Or, a class provides the abstraction, and an object is a typical example of that abstraction. Classes provide a blue print to build a real instance of an object.


What is difference between an instance variable and a class variable?

An instance variable is typically associated with an object instance of the class whereas class variable is not associated with any object instance. Static variables are referred to as class variables while non-static regular variables are called instance variables. Simply put, you will have as many instances of the instance variable as there are object instances. i.e., if there are 10 instances of an object, you will have 10 instances of that instance variable as well. But, there will be only one instance of the static or class variable. Instance variables are accessed as follows: objname.variableName; Class variables are accessed as follows: ClassName.variableName;

Trending Questions
What is WindowsXP-KB942288-v3-x86? Can a 50x30'x14' aquarium stand support a 125 gallon tank? What is Pre Written software And customized Software? Is there such thing as a kilo liters? What attack occurs when a hacker uses programs that try a combination of a user ID and every word in a dictionary to gain access to the network? How good are you in computer? What is the difference between a stallman and a Lambert typewriter? When command is transferred then all personnel with a need to know what should be told? Is monitor size measured diagonally from corner to corner? What does sql mean in computer lingo? Can you charge your laptop battery in Norway? What would cause a computer to restart just before it gets to Windows XP start up and continue to restart and restart? Rob used Track Changes to suggest changes in Jack's document. Jack agrees with some edits and disagrees with others. What should Jack do with the edits so that he has a clean copy of the document? What is the name of the hole into which flash drives are inserted into the computer? What is the purpose for a person specification? What is the highest version of adobe flash player? Are Chinese-made products required to bear a label or notice that states MADE IN CHINA? How many milliliters are in 1 teaspoonful? Can you use your old PC as an external hard drive? Which technique allows you to specify individual users or groups within a container who should or should not receive the settings configured in a particular GPO?