Object Oriented Software Engineering   View all facts   Glossary   Help
subject > component > module > Java module > Java method > Java class method
Upclass method, Java method

Java class method comparison table
Subject have example have purpose
isDigit
// tests if the character is a digit 
boolean b = Character.isDigit(aChar);
to test if a character is a digit
parseInt
// converts aString to an int 
int i = Integer.parseInt(aString);
to convert a string to an int
toHexString
// converts to hexadecimal 
intString s = Integer.toHexString(anInt);
to convert an int to hexadecimal

Upclass method, Java method