Sunday, March 18, 2012

if-then-else statements

"The if-then and if-then-else Statements (The Java™ Tutorials > Learning the Java Language > Language Basics)" ( http://bit.ly/zflbUx )

Finding a char in a String. Example

Finds the Char at position 0 of the string


Getting input: The Scanner class

"Scanner (Java Platform SE 7 )" ( http://bit.ly/ABSuGl )

Default value of primitive data types

From http://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html


Primitive Data Types

"Primitive Data Types (The Java™ Tutorials > Learning the Java Language > Language Basics)" ( http://bit.ly/xesQuj )

Switch

"The switch Statement (The Java™ Tutorials > Learning the Java Language > Language Basics)" ( http://bit.ly/y2TVYE )