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

Java Programming Concepts and Questions

The document outlines an assignment consisting of short and long questions related to Java programming concepts. It includes definitions, explanations, justifications, and programming tasks focusing on type casting, Java's characteristics, object-oriented principles, and practical coding examples. The assignment aims to assess understanding of Java's features and programming paradigms.
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)
2 views1 page

Java Programming Concepts and Questions

The document outlines an assignment consisting of short and long questions related to Java programming concepts. It includes definitions, explanations, justifications, and programming tasks focusing on type casting, Java's characteristics, object-oriented principles, and practical coding examples. The assignment aims to assess understanding of Java's features and programming paradigms.
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

ASSIGNMENT 1

Short questions:-( 2 marks)


1. Define type casting.
2. Explain What gives java write once run anywhere nature.
3. Justify java is a simple and robust language.
4. Write 2 advantages of a compiled and interpreted language over only compiled
language.
5. Write the use of BufferReader class.
6. Differentiate between object oriented and procedure oriented language.
7. What do you mean by class and object ?
8. Explain why java is machine independent?
9. Justify statement.
JVM is plat form dependent.
Long questions:-( 6 marks)
1. What is object oriented paradigm? Explain the various features of OO
paradigm.
2. Distinguish between the following terms.
a. Objects and Classes
b. Data abstraction and Data encapsulation.
c. Inheritance and polymorphism.
3. Write a sample java program to find the GCD of two numbers.

You might also like