Government Polytechnic , Koderma
Subject- Java Programming semester-5th session- 2017-20 Branch-CE
Assignment No.- 01
All questions are compulsory.
1. What are the various features of Java?
2. Explain various data types available in java
3. Java is pure OOP’s? Explain your answer with explanation.
4. Why garbage collection is required in Java?
5. Why java is called compiled and interpreted give detail explanation with figure.
6. How we can create an object of a class? Explain the use of new keyword.
7. Difference between Interface and class.
8. What is an exception? How are they handled?
9. Write a program in java to display the shape with stars of K.