Java View all facts Glossary Help |
member > method > final method |
final method comparison table |
Subject | refer to | define | have part | have | return to | be | access | is a subtopic of | have example | implement | have syntax rule | override | hide | is an instance of | create | have purpose | place in | access by | have access modifier | have access to | have access mode | be part of | has part | use | belong to | return | declare | operate on | contain | pass as | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
getClass | the object itself using the 'this' keyword | its return type | method signature | specification | its caller from only one place which should be the last statement | public except for those that will definitely need to be called from outside the package | all instance variables of all objects of its class | Example Methods | //Returns the name of the class of the object called key String name = key.getClass().getName(); | the behaviour of the objects in the class | bold = mandatory | by any method | instance variables, class variables from other objects | method that is declared in Object class | an object by instantiating a class | to increase efficiency by eliminating dynamic method lookup | a class such that there is no needless duplication of it, and such that it is useful in all the subclasses of the class in which it is defined | other methods and variables in any class in the same package by default | every class variable of its class | a class | a block of implementation code | the super method to invoke a method declared in the superclass | a class | a runtime representation of the class of the object | public, protected or private | the current object's instance variables | return statement unless it has a void return type | an argument to a method or constructor |
Next method: finalize method Up: method Previous method: deprecated method