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

OOPJ Question Bank

Uploaded by

rvmehtaictspce
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views

OOPJ Question Bank

Uploaded by

rvmehtaictspce
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Chapter – 1

1) Discuss the features of Java Programming Language.


2) Explain different Java Control Statements with example.
3) Explain the structure of Java Program with example.
4) Explain the task of main () method in Java Programming Language.
5) What is Bytecode? Explain the JVM concept in Java Programming
Language.
6) Write the full form of the following
(i) JIT (ii) JDK (iii) AWT (iv) API
7) Write difference between Java and C
8) Write Difference between Java and C++
9) What is Operator? Explain Arithmetic and Bitwise Operators.
10) What is type casting? Why it is required in programming.
Chapter – 2
1) What is Wrapper Class? Explain the use of Wrapper Class with example.
2) Explain array with example.
3) Explain the difference between String Class and StringBuffer Class with example.
4) Give difference between string and string buffer class, explain any three methods of both
string & string buffer class.

Chapter – 3
1) Define/Explain Class and object with example.
2) Explain different types of constructor with example.
3) Explain Method Overloading with suitable example. (4/7 Marks)
4) Explain Constructor overloading with suitable example. (7 Marks)
5) Explain final and this keyword with example. (GTU Dec-2011) (7 Marks)
6) Explain the final variable, final method, final class and finalizes method.
7) What is command Line argument? Write a program to sort the numbers in ascending
order, entered by using the command line argument.
8) Explain scope of variables in java.
9) Explain Garbage Collection and finalize() method
10) What is constructor? Write properties of constructor.
11) What is constructor? Write its properties and make a program using constructor to
implement multilevel inheritance

Chapter – 4
1) Explain the difference between abstract class and final class.
2) What is Inheritance? Explain the different forms of Inheritance with example.
3) Explain the use of super keyword.
4) Explain Abstract class with suitable example.
5) Explain Method Overloading and Method Overriding with suitable example.
6) What is Inheritance? Explain multilevel hierarchy Inheritance with Example.
7) Explain visibility controls of java.
8) Give difference between method overloading & overriding.

Chapter – 5 & 6
1) List out the different important Java Packages and explain it.
2) Discuss the similarities and differences between Class and Interface with example.
3) What is Package? Write the steps to create the package with example.
4) What is package? Explain with suitable example.
5) What is interface? Explain with suitable example.
6) What is Vector? How it differs from the array? Explain array and vector with example.
7) Explain vector class with their methods.
Chapter – 7 & 8
1) Differentiate between exception and error? Explain exception handling in Java.
2) What is Exception? Explain try-throw-catch-finally with suitable example.
3) What is an Exception? How it can be handled in java? Write a program that demonstrates
the use of exception handling statement.
4) What is Exception? Explain all Exception of java.

Chapter - 9
1) What is Thread? Explain the Life Cycle of a Thread.
2) Explain with suitable example suspend (), resume () and stop () methods of Thread class.
3) Explain isAlive( ) and Join( ) methods of thread.
4) Write short note : Synchronization
5) What is synchronization? Explain thread priorities with suitable example.

Chapter – 10

1) Explain the difference between Web Applet and Stand-alone application.


2) What is Applet? Explain the life cycle of applet
3) Explain update(),paint(),repaint() methods of AWT.
4) Explain Graphics class with their drawing methods.
5) Write a program that draws an octagon in applet.
6) Write an applet to draw following shapes : ( a) cube ( b) rectangle
7) Explain different layout in Java programming.
8) Explain Textbox, push button and Label controls of AWT.
9) What is Layout Manager? Explain any one Layout manager.

You might also like