Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > data item > variable > instance variable
Next variableJava variable    Upvariable    Previous variableglobal variable   

instance variable comparison table
Subject implement have type have be access by contain is a subtopic of declare by refer to is a kind of declared have scope
Java instance variablean attribute or association an interface as its type which means that, with the variable, you can invoke any operation supported by the interfaceas private as reasonably possible - almost never make them publicother variables and methods in any class in the same package by defaultdifferent classes of objects depending on the type of the variableThe Basics of Javagiving the data type followed by the name of the variablea particular object, several different objects during the execution of a program, or no object at allJava variableprivate 

Next variableJava variable    Upvariable    Previous variableglobal variable