Friday, April 1, 2011

Methods

/*
RULE: The first letter should be small letter and followed
words shold be capital letters
*/
class Methods
{
int getBalance(int accno)
{
System.out.prinln("balance is")
}
void setBalance(int acc,int amount)
{
}
public static void main(String[] args)
{

System.out.println("Hello World!");
}
}