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

Java OOP Assignment Questions Guide

The document outlines assignment questions for the Object Oriented Programming with Java course at Tontadarya College of Engineering. It includes topics such as object-oriented principles, type conversion, array declarations, and various Java programming concepts. The submission deadline for the assignment is set for November 21, 2025.

Uploaded by

sp1470714
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)
4 views1 page

Java OOP Assignment Questions Guide

The document outlines assignment questions for the Object Oriented Programming with Java course at Tontadarya College of Engineering. It includes topics such as object-oriented principles, type conversion, array declarations, and various Java programming concepts. The submission deadline for the assignment is set for November 21, 2025.

Uploaded by

sp1470714
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

Shri Tontada Siddhalingeshwar Kalyana Kendra’s

Tontadarya College of Engineering Gadag


Mundargi Road, Gadag – 582 101, Karnataka State
[Approved by AICTE New Delhi and Affiliated to Visvesvaraya Technological University, Belgaum]
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
Web: [Link]

Date: 05/11/2025

Subject: Object Oriented Programming with Java (BCS306A)

Assignment Questions

1. Explain three object oriented principles.


2. Explain different lexical issues in java.
3. What do you mean by Type conversion and Type casting? Give examples.
4. Define Array? How you declared array in java? Write a java program to implement the
addition of two matrices.
5. Explain the following operations with examples.

(i) << (ii) >> (iii) >>>


6. Explain the different types of if statements in java with an example of program.
7. Demonstrate the working of continue and return statements in java.
8. Develop a java program to convert Celsius temperature to Fahrenheit.
9. How to declare and initialize 1-D and 2-D arrays in Java. Give examples.
10. Explain ternary operator. With a java program, illustrate the use of ternary operator to
find the greatest of three numbers.
11. How for each is different from for loop. Write a java program to sum only the first
five elements of the array {1,2,3,4,5,6,7,8,9,10}, using for each version of the for
loop.
12. Explain the three different uses of the break statement in Java with suitable examples.

Note: The last date for assignment submission is on or before 21/11/2025 without fail. Late
submission will not be considered.

You might also like