0% found this document useful (0 votes)
3 views1 page

Java Programming Assignment for CE Students

This document contains an assignment for a Java programming course covering various topics: 1) It lists 9 questions about Java features, data types, object-oriented principles, garbage collection, compilation vs interpretation, object creation, interfaces vs classes, exceptions, and a programming problem to display a shape with stars. 2) The questions cover core Java concepts like data types, OOP features, memory management and exceptions as well as syntax like object creation and interfaces.

Uploaded by

manoj yadav
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Java Programming Assignment for CE Students

This document contains an assignment for a Java programming course covering various topics: 1) It lists 9 questions about Java features, data types, object-oriented principles, garbage collection, compilation vs interpretation, object creation, interfaces vs classes, exceptions, and a programming problem to display a shape with stars. 2) The questions cover core Java concepts like data types, OOP features, memory management and exceptions as well as syntax like object creation and interfaces.

Uploaded by

manoj yadav
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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.

You might also like