Oop Repeat Bro
Oop Repeat Bro
5 What are the data-types and operators available in Java? WINTER 2020 07
What are syntax errors (compile errors), runtime errors, and WINTER 2021 03
7
logic errors?
What is Type Casting? Explain widening and narrowing type WINTER 2021 04
8
casting.
10 List out features of Java. Explain any two features. SUMMER 2022 03
2 Explain about arrays, Type of arrays and arrays methods SUMMER 2021 03
2 WINTER 2020 07
Explain class and object with respect to java.
3 WINTER 2020 04
What is constructor overloading?
4 List and explain available type of constructors in java with WINTER 2020 04
example
5 How to access object via reference variable? Explain with WINTER 2020 04
example.
6 Define constructor. How objects are constructed? Explain SUMMER 2021 07
constructor overloading with an example.
What is a Package? What are the benefits of using packages? SUMMER 2021
7
Write down the steps in creating a package and using it in a
java program with an example.
Explain access modifiers with Example. WINTER 2020 03
8 OR
Write short notes on access specifiers and modifiers in java. SUMMER 2021 04
9 WINTER 2021
Explain visibility modifiers. 03
10 WINTER 2021 04
What is constructor? Explain constructor overloading
SUMMER 2022
Consider class A as the parent of class B. Explain among the 04
following which statement will show the compilation error.
11 i) A a = new A();
ii) A a = new B();
iii) B b = new A();
iv) B b = new B();
SUMMER 2022
Explain the following constructors using appropriate 04
example:
12
i) Default constructor and Parameterised constructor
ii) Shallow copy and Deep copy constructor
13 WINTER 2022
Explain constructor with the help of an example 03
WINTER 2022
14 Explain all access modifiers and their visibility as class 07
members.
State the design hints for class and inheritance. SUMMER 2021 07
12 Also discuss the working and meaning of the “static” modifier
with suitable examples.
Explain about different types of string methods. SUMMER 2021 07
OR
13 WINTER 2022 04
List out different methods available for String class in java
and explain any two with proper example
Explain about Final class, Fields, Methods SUMMER 2021 03
14 OR
WINTER 2022 03
What is the final class? Why they are used?
What is Dynamic binding? Show with an example how SUMMER 2021 03
15
dynamic binding works.
16 Explain the concept of finalization. SUMMER 2021 03
1 Define Interface and explain how it differs from the class SUMMER2020 04
07
11 Explain File class with its methods.
Write a JAVA program to read student.txt file and display the SUMMER2020 04
12
content
Write a program that counts the number of words in a text WINTER 2021 07
14 file. The file name is passed as a command line argument. The
words in the file are separated by white space characters.
Write a program that illustrates interface inheritance. WINTER 2021 07
Interface P is extended by P1 and P2. Interface P12 inherits
15 from both P1 and P2. Each interface declares one constant
and one method. class Q implements P12. Instantiate Q and
invoke each of its methods. Each method displays one of the
constants.
What is an Exception? Explain try, catch and finally with WINTER 2021 07
16
example.
What is the keyword “throw” used for? What is the keyword WINTER 2021 03
17
“throws” used for?
Write a java program that evaluates a math expression given SUMMER 2022 07
18 in string
form from command line arguments.
Explain file io using byte stream with appropriate example. SUMMER 2022 07
19
hint: use FileInputStream, FileOutputStream
Explain file io using character stream with appropriate SUMMER 2022 04
20 example.
hint: use FileReader, FileWriter
Explain following Java keywords using appropriate examples: SUMMER 2022 03
21
i) throw, ii) throws, iii) finally
WINTER 2022 04
22 Write exception handling mechanisms in JAVA.
Enlist various layout panes and explain any two in detail. SUMMER2020 07
2 OR WINTER 2021 07
List out various layout panes in JavaFX. WINTER 2022 03
3 Write importance of JAVAFX compare to AWT and Swing. SUMMER2020 04
How do you create a Scene object? How do you set a scene SUMMER2020 07
in a stage?
4
Is it possible to create multiple scenes? Write a program to
place a circle in the scene and fill circle with red color.
5 WINTER 2020 03
Explain mouse and key event handler in JavaFX
WINTER 2021 07
4 What is thread? Describe the complete life cycle of thread.
WINTER 2021 07
5 Explain Thread Synchronization with example.
WINTER 2022
SUMMER 2022 04
6 Explain multithreading using Thread class
SUMMER 2022
7 Explain multithreading using Runnable interface
In multi-threading using Thread class, explain with an SUMMER 2022 04
8 example how a start() method call invokes the run method
of the class extending Thread class.
In multi-threads using the Runnable interface, explain with SUMMER 2022 04
9 an example how a start() method calls the run() method of
a class implementing a runnable interface.
Date of Submission
Sign of Faculty