0% found this document useful (0 votes)
12 views3 pages

Revised Java Assignment

The document outlines assignments for an Object-Oriented Programming course, covering key concepts such as comparisons between programming paradigms, Java Runtime Environment (JRE), Java Development Kit (JDK), type conversion, data types, and operators in Java. It also discusses object-oriented principles like encapsulation, abstraction, inheritance, polymorphism, and includes practical examples of constructors, access modifiers, and exception handling. Additionally, the document addresses JavaFX components and event handling, providing a comprehensive overview of the subject matter for the academic year 2022-23.

Uploaded by

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

Revised Java Assignment

The document outlines assignments for an Object-Oriented Programming course, covering key concepts such as comparisons between programming paradigms, Java Runtime Environment (JRE), Java Development Kit (JDK), type conversion, data types, and operators in Java. It also discusses object-oriented principles like encapsulation, abstraction, inheritance, polymorphism, and includes practical examples of constructors, access modifiers, and exception handling. Additionally, the document addresses JavaFX components and event handling, providing a comprehensive overview of the subject matter for the academic year 2022-23.

Uploaded by

MIT Sojitra
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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.

You might also like