Give an example of illegal identifier.
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.
Give an example of illegal identifier.
What is bytecode in context of java?
Applet can be used for generating static or dynamic webpage?
Arrays in java are objects or classes?
Java compiler is written in which language?
What cannot be used for variable name in java?
What is a package in java?
Why java is called robust programming language?
JVM is platform independent or not?
The relation between classes can be represented by what?
Exception created by try block is caught in which block?
When finalize() method is called _____.
What is thread? Explain thread creation methods.
Write down the differences between procedure-oriented and object-oriented programming.
What does the JVM do? Why java is called compiler-interpreter language?
How inheritance is incorporated in java? Is it possible in java to implement multiple inheritance?
Discuss Applet life cycle indicating the functions.
What are exceptions? Explain the user defined exceptions and system defined exceptions with suitable examples.
How do we define try and catch block? Is it essential to catch all types of exceptions?
Explain any three events with suitable example.
How applet is different from frame and panel? Explain.
How threads are made to communicate with each other? Explain with example.
Explain any three events with suitable example.
Write short notes from any three of the following: a) Interface
Write short notes from any three of the following: b) Abstraction
Write short notes from any three of the following: c) Inheritance
Write short notes from any three of the following: d) Encapsulation
Write short notes from any three of the following: e) Virtual method table
Explain method overloading with an example.
What is class? How does it accomplish data hiding?
What is constructor? What does the finalize method() do?
Explain thread life cycle
Discuss Applet life cycle indicating the functions
What are wrapper classes? Why do we need wrapper classes? What is byte code?