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

Assignmen Togler T Final 1-1

Uploaded by

starkexpo3k
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)
21 views1 page

Assignmen Togler T Final 1-1

Uploaded by

starkexpo3k
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
You are on page 1/ 1

ASSIGNMENT QUESTIONS:

1. Explain the following object-oriented concepts: i) Polymorphism ii) Encapsula on iii)


Inheritance
2. What are Keywords and Iden fiers? List the rules to write an iden fier.
3. Define a class and object. Write syntax to create class and object with an Example.
4. i) Explain the process of compiling and running the java applica on with the help of “Hello
World” program ii) Write a java program to find the area of circle.
5. Explain the following operators with an example. i) >> ii) >>> iii) << iv) ? v) %=
6. Explain the difference between the following. i) Logical AND and short circuit AND ii) for loop
and foreach loop with suitable example.
7. Develop a JAVA program to add TWO matrices of suitable order N (The value of N should be
read from command line arguments).
8. Write a Java program to implement stack of 5 integers.
9. What is Overloading? Explain the Overloading with suitable example.
10. What is constructor? Explain constructor overloading with suitable example program.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy