answersLogoWhite
Ask
Java Programming

What is the meaning of instance in java?

234
Answer

Top Answer
User Avatar
Wiki User
2009-12-18 15:18:12
2009-12-18 15:18:12

An instance method defines behaviors of objects

A static method does not define object behavior, but is defined inside a class

123
0

Related Questions

User Avatar

The definition of an instance in an occurrence of something. Since an object in Java is an occurrence of a class, I would say that an object and an instance are one and the same.

User Avatar

http://www.coderanch.com/t/399872/java/java/Difference-instance-variable-reference-variable

User Avatar

The textbook definition of an object is an instance of a class. // In this example, str is an object of the String class String str = "happy";

User Avatar

Typically "Java-enabled" refers to some device (a cell phone, for instance) which either already has Java installed on it, or has the ability to have Java installed on it.

User Avatar

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


Copyright © 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.