Byte code of java is
Official theoretical question paper for Object Oriented Programming (PCC-CS503) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.
Byte code of java is
In System.out.println();, out is
Constructor can be overloaded
Runtime binding occurs
A package may contain
Stack overrun is an
Java virtual machine is
Scanner class resides in
Applet can be used for generating
Java is robust because
Abstract class is used for
What is JVM? Explain the process of compilation and interpretation in Java.
What are literals in Java? What is the difference between Java and C++ in respect of language functions?
What is parametric and non-parametric constructor? Explain both with a suitable program.
Create three buttons of colour red, green and blue. Then write an applet program to change the background colour of screen according to the button colour.
What is String-buffer class? Explain with a suitable program.
What do you mean by parameter passing? What is call by value and call by reference? Write down two programs to define call by value and call by reference.
Write the different characteristics of final keyword. What are the different characteristics of abstract keyword? Explain abstract class through a program.
How command line argument is written? Explain through a program. How an array is declared in Java? Write a program to ascending sort an array and display it.
What do you mean by exception? Write program to handle user defined exception. What do you mean by thread? What is runnable interface? Explain it through a program.
Write short notes on any three of the following: (a) Interface. (b) Abstraction. (c) Inheritance. (d) Encapsulation. (e) Virtual Method Table.