Java   View all facts   Glossary   Help
member > class member > class method
Next class memberclass variable    Upclass member, method

class method comparison table
Subject call is an instance of is a subtopic of have purpose have example be part of have method signature is a kind of be similar to run until be a member of have has definition be
isDigit class methodExample Methodsto test if a Character is a digit
// tests if a Character is a digit 
boolean b = Character.isDigit(aChar);
1 class    the wrapper class Character classspecification public except for those that will definitely need to be called from outside the package
main methodother methods to run an application Methodsimplementing functions such as initializing a class, or operating on the complete set of instances of a class a class
public static void main(String[] args)
class methoda main function in C  one argument of type String[]A method that is initially executed in an application
parseInt class methodExample Methodsto convert a String to an int
// converts a String to an int 
int i = Integer.parseInt(aString);
1 class    the wrapper class Integer classspecification public except for those that will definitely need to be called from outside the package
synchronized class method  Threadsimplementing functions such as initializing a class, or operating on the complete set of instances of a class 1 class class method Java obtains a lock on the class to ensure that no other threads can be modifying the class concurrently 'this' value when it is executing public except for those that will definitely need to be called from outside the package
toHexString class methodExample Methodsto convert an Integer to hexadecimal
// converts an Integer to hexadecimal 
intString s = Integer.toHexString(anInt);
1 class    the wrapper class Integer classspecification public except for those that will definitely need to be called from outside the package

Next class memberclass variable    Upclass member, method