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.