Java assignment questions:
1. Write a program in java to print the following output:
0
1 2
3 4 5
6 7 8 9
2. Write down all the three object-oriented programming principles.
3. Write down any two the control statements.
4. Give brief description about Boolean data type with one example.
5. Write a program to demonstrate arithmetic operators.