Java   View all facts   Glossary   Help
member > class member
Next memberinner class    Upmember    Previous membermethod   

class member comparison table
Subject access directly destroy in associate with call by is a subtopic of take the place of access declare by access from overuse create refer to access by has part represent return to specify contain have purpose is a synonym of pass as allocate when allocate once for implement have scope be part of declared in operate on belong to is a kind of used initialize by define have access modifier refer to by affect be accessible to hide declare anywhere in use override be a member of have have part return has definition be
class methodany instance variable  using the name of the class, followed by a dot, followed by the name of the method (the name of the class can be omitted when calling a class method in the current class)Methods all instance variables of all objects of its class  an object by instantiating a class other methods and variables in any class in the same package by defaulta block of implementation code its caller from only one place which should be the last statementthe behaviour of the classreturn statement unless it has a void return typeimplementing functions such as initializing a class, or operating on the complete set of instances of a classstatic methodan argument to a method or constructor   1 class 0 or more class variables of its classa classmethod  its return type the class as a whole, not a particular instance of the class instance variables, class variables from other objects the super method to invoke a method declared in the superclass  'this' value when it is executingmethod signaturea value that is of the return type of the method or a subtype of that typeA method that is invoked without reference to a particular objectpublic except for those that will definitely need to be called from outside the package
class variable the block where it is declaredany instance of any class Membersglobal variables used in other languages giving the data type followed by the name of the variable  a class or an object or a primitive datumother variables and methods in any class in the same package by default valuethe state of a class  only values that are of the same type as the variable or a subtype of the variable's typeto refer to an object or a class or a primitive datumstatic variable the class is loadeda class  a classthe body of the class (not inside a method) 1 classmember variableto store
  • default or 'constant' values that are widely used by methods in a class
  • lookup tables and similar structures used in algorithms in a particular class
an assignment statementan attribute of an entire classspecifying the name of the class, followed by a dot, followed by the name of the variable the code in its class a class outside of a method  a class or an objecta name  A data item present in a class that is shared by all instances of that classas private as possible

Next memberinner class    Upmember    Previous membermethod