0% found this document useful (0 votes)
7 views

JAVA_Assignment QP1

Uploaded by

rohanshetty5512
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

JAVA_Assignment QP1

Uploaded by

rohanshetty5512
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

Explain Three Principles of Object Oriented Programming


2. List and explain various data types supported by Java
3. Illustrate Explicit and Implicit type conversion in JAVA with a programming example
4. Write a JAVA program to add two matrices of order N
5. How single and multi-dimension array can be declared in Java? Write a Java Program
to Illustrate the reading and display of single dimension array elements.
6. Explain arithmetic operators supported by Java with example.
7. Explain Relational, Logical and Bitwise operators in JAVA with example.
8. Illustrate Conditional Statements supported by JAVA
9. Illustrate Looping Constructs supported by JAVA
10. Write a Java Program to find factorial of a number.
11. Write a Java Program to find simple interest.
12. Write a Java program to find area of a rectangle.
13. Illustrate JAVA Class and Objects with a programming example
14. Create a Java Class Student with name, USN, department, semester as properties.
Add read and display functions to the class. Create object for the class in main
function.
15. What are constructors? Explain two types of constructor with a programming
example.
16. Illustrate method and constructor overloading with a programming example
17. Illustrate call by value and call by reference in Java
18. Illustrate how an object can be passed as a parameter to method and also how
object can be returned.
19. Illustrate Single inheritance in java with a programming example
20. What is the use of super key word in JAVA? Illustrate method overriding with a
programming example.

You might also like