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

Assignment Unit1 Java Questions

This document outlines an assignment for the Object Oriented Programming with Java course, focusing on the introduction to Java. It includes a series of questions that cover the history of Java, its features, architecture, program structure, data types, operators, and type conversion. Students are instructed to answer in their own words and provide examples and diagrams where necessary.

Uploaded by

Megha Sankhala
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

Assignment Unit1 Java Questions

This document outlines an assignment for the Object Oriented Programming with Java course, focusing on the introduction to Java. It includes a series of questions that cover the history of Java, its features, architecture, program structure, data types, operators, and type conversion. Students are instructed to answer in their own words and provide examples and diagrams where necessary.

Uploaded by

Megha Sankhala
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

Object Oriented Programming with Java (BC03001021)

ASSIGNMENT – UNIT 1
Subject: Object Oriented Programming with Java
Subject Code: BC03001021
Unit: Introduction to Java

Name: ________________________________
Enrollment / Roll No.: ________________________
Class / Semester: ____________________________
Date: ________________________________

INSTRUCTIONS
• Answer all questions in your own words.
• Draw neat diagrams wherever necessary.
• Write Java syntax / examples wherever applicable.
• Mention suitable real-world examples.

QUESTIONS
1. Explain the history and evolution of Java. Why is Java known as a platform-independent
programming language?
2. Discuss the features of Java in detail with suitable examples. Explain any eight features.
3. Explain the architecture of Java with a neat diagram. Describe the role of JDK, JRE, JVM, Class
Loader, Bytecode, and Java Compiler.
4. Write and explain the structure of a Java program. Explain the purpose of package declaration, import
statement, class declaration, main() method, and statements.
5. Differentiate between JDK, JRE, and JVM using a comparison table and suitable examples.
6. Explain Java data types and variables. Differentiate between primitive and non-primitive data types
with examples.
7. Explain operators in Java. Describe arithmetic, relational, logical, assignment, unary, bitwise, and
ternary operators with examples.
8. What is type conversion and type casting in Java? Explain implicit and explicit type casting with
suitable programs.
9. Write a Java program to demonstrate:
• Input from the user
• Arithmetic operations
• Type casting
• Output using [Link]()

— End of Assignment Questions —

Page 1 of 1

You might also like