Semester: IV
Subject : OOP-I (3140705)
Academic Year: 2022-23
Assignment -I
Compare object-oriented programming with sequential programming.
Explain JRE, JDK, bytecode and JIT.
Explain type-conversion in java.
What are the data-types and operators available in Java?
Write difference between String class and StringBuffer class.
Explain about different types of string methods.
Assignment -II
Explain about Encapsulation, Abstraction.
Define constructor. How objects are constructed? Explain constructor
overloading with an example.
Explain in detail how inheritance and polymorphism are supported in
java with necessary examples.
Differentiate between function overloading and overriding.
Explain access modifiers with Example.
Explain abstract class with example.
Explain static keyword (variable and method) with example.
Define Interface and explain how it differs from the class.
Explain about Final class.
What do you mean by run time polymorphism? Write a program to
demonstrate run time polymorphism.
Explain following keywords
(1) super (2) this
Explain the concept of inner classes and explain the types of inner
classes with an example program.
Assignment III
Describe thread life cycle with block diagram.
Explain multithreading using Thread class and Runnable interface.
Explain usage of try catch, throw, throws and final blocks.
Explain dividebyzero/arithmetic , arrayoutofbound and numberformat exception in java.
Explain custom exception generation in Java with example.
Assignment IV
Differentiate Text I/O and Binary I/O.
Explain different layout panes used in JavaFX.
Explain following controls
(1) Checkbox (2) Radio Button (3) Textfield (4) Label
Explain mouse and key event handler in JavaFX.