Question one. What are the differences between local and parameter variables and instance variables? Give an example for each.
Question Two. Find and correct the error in the following statements
- int hour = 23.0;
- final static int dollar = 3.75;
- IF(x>3);
- System.out.print(x);
- If(balance =>1500)
System.out.println("Balance is bigger than or equal to 1500");
System.out.println("Balance is less than 1500");