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

oops through java-AIML external

Uploaded by

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

oops through java-AIML external

Uploaded by

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

1. a) Write a Java program to compute distance light travels using long variables.

b) Displaying first and last character of a string.

c) Write a program on try and catch statements using Arithmetic Exception

2 a) Write a Java program on Boolean values.

b) Write a Java program to demonstrate Buffered Reader.

c) Write a program using the concept of Method Overriding.

3. a) Write a short program that uses double variables to compute the area of circle.

b) Write Java program on if-else statement.

c) Write Java program on Multi-Level Inheritance.

4. a) Write a Java program on Char datatype.

b) Write a Java program on java string vs new string.

c) Write a Java program using extending Thread keyword.

5. a) Write Java program using while loop statement.

b) Write Java program box uses a constructor to initialize the dimensions of a box.

c) Write Java program using single Inheritance.

6. a) Write Java program using Interfaces.

b) Write Java program on Nested try block.

c) Write Java program on simple Java String.

7. a) Write a Program using switch statement.

b) Write a Java program on try and catch statements using Null Pointer Exception.

c) Write program to create class & objects and adding methods.


8. a) Write a program using if-else-if statement.

b) Write program using box uses a parameterized constructor to initialize the dimensions of a box.

c) Write program to design module to importing packages from other packages.

9. a) Write Java program on if-else statement.

b) Write Java program on String Concatenation.

c) Write Java program on creating Multiple Threads.

10. a) Write Java program on do-while loop.

b) Write Java program on Multi Catch Block.

c) Write Java program to creating packages.

You might also like