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

OOPS PART-B

16 mark questions

Uploaded by

znovelgame
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)
5 views3 pages

OOPS PART-B

16 mark questions

Uploaded by

znovelgame
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
You are on page 1/ 3

UNIT-I

1. Define Object-Oriented Programming (OOP) and explain its main


features. Additionally, list and describe the Java buzzwords associated
with OOP.
2. Discuss the various datatypes in java.

3. Explain the types of constructor with suitable program.

4. Develop a Java class named Student that has the following fields: name,
rollNumber, and marks. Include methods to calculate and display the
student's grade based on the marks. Write a main method to create at least
two Student objects and print their grades.
5. Discuss about different types of access specifiers with suitable example
program.

6. Explain in detail about static variable and static method in Java with
example.

UNIT-II
1. Discuss about method overloading and method overriding with suitable
example.
2. Discuss the role of the super keyword in Java inheritance. Provide an
example that illustrates how it is used to call a parent class constructor.
3. With diagrammatic illustration and java programs explain the different
types of inheritance with an example.
4. Explain abstract classes with suitable example.
5. Design a Java package for a simple online bookstore system. Include
classes for Book, Customer, and Order. Explain how to manage member
access and import the package.
6. Design a Java class structure for a simple library management system
using classes, inheritance, and interfaces.

UNIT-III
1. Discuss about try, catch and finally keywords in exception
handling with an example.
2. Explain in detail the various exception types with its hierarchy
3. Write programs to illustrate ArrayIndexOutOfBounds Exception and
Arithmetic Exception.
4. Describe the life cycle of thread and various thread methods.
5. Discuss the two ways of thread creation? Explain with suitable examples.
6. Write a java program for inventory problem to illustrate the usage of thread
synchronized keyword and inter thread communication process. They have
three classes called consumer, producer and stock.

UNIT-IV
1. Write a java program to read and write a text file using character stream
and buffer stream
2. Explain in detail about generic classes and methods in java with suitable
example.
3. What are the restrictions are considered to use java generics effectively?
Explain in detail.
4. Apply the string handling functions to do the following operations (i)
Compare the two strings. (ii) Reverse the String.”Happy”
5. Explain the all the string operators with syntax and example.
6. Explain the string buffer methods with an example.

UNIT-V
1. Explain the JavaFX Architecture in detail.
2. Explain the following control with an example,CheckBox, RadioButton
and Combobox
3. Write a JavaFX program to create a login page, which demonstrates
controls in JavaFX such as Labels, Textviews and button.
4. Explain the Event Handling with example.
5. Explain HBox & VBox in JavaFX with suitable example.
6. Write a Java program to create a menu bar and add menu to it and also add
menuitems to the menu.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy