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

Java Programming Assignment Guide

The document outlines an assignment for a B.Tech 5th semester course in Object Oriented Programming with Java at Swarnim Startup & Innovation University. It includes tasks such as explaining Java's platform independence, differentiating between JDK, JRE, and JVM, and writing various Java programs. Additionally, it covers topics like bytecode, classpath, and comparisons between procedural and object-oriented programming.

Uploaded by

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

Java Programming Assignment Guide

The document outlines an assignment for a B.Tech 5th semester course in Object Oriented Programming with Java at Swarnim Startup & Innovation University. It includes tasks such as explaining Java's platform independence, differentiating between JDK, JRE, and JVM, and writing various Java programs. Additionally, it covers topics like bytecode, classpath, and comparisons between procedural and object-oriented programming.

Uploaded by

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

SWARNIM STARTUP & INNOVATION UNIVERSITY

SCHOOL OF ENGINEERING
DEPARTMENT OF COMPUTER ENGINEERING
OBJECT ORIENTED PROGRAMMING WITH JAVA

[Link]: 5TH SEMESTER

Assignment: 1

1. Explain the features of Java that make it platform-independent


and secure.
2. Differentiate between JDK, JRE, and JVM with suitable diagrams.
3. Describe the structure of a Java program with an example.
4. Write short notes on:
(a) Bytecode
(b) Classpath
(c) Java Virtual Machine (JVM)
5. Compare procedural programming with object-oriented
programming.
6. Explain different types of Java applications with real-world
examples.
7. Write a Java program to display “Hello, World!”.
8. Write a Java program to calculate the sum of two numbers
entered by the user.
9. Write a Java program to check whether a number is even or odd.
10. Write a Java program to find the largest of three numbers.
11. Write a Java program to swap two numbers without using a
third variable.

You might also like