Program with instance variable and local variable.
Write a program with an instance variable and local variable with same name.
Assign different values along with their declarations.
Print both values from the method where the local variable is defined in the order: local variable, instance variable.
With answers: set-12
Without answers: set-13
Create a program that demonstrates a switch statement with default case. Add appropriate break statements.
Create a program that demonstrates an if, else if and else.
Without answers: set-15
Create a for loop, while loop and do-while loop that print from 1 to 10.
Without answers: set-18