0% found this document useful (0 votes)
10 views2 pages

GTU Question Bank OOPI

Uploaded by

tejashadalaja2
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)
10 views2 pages

GTU Question Bank OOPI

Uploaded by

tejashadalaja2
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/ 2

Shree Swaminarayan Institute of Technology, Bhat

Computer Engineering Department


Subject: Object Oriented Programming -I (3140705)
Semester-4th
QUESTION BANK

1. Explain JRE, JDK and JIT.


2. Explain static keyword with example.
3. Compare object-oriented programming with sequential programming.
4. Explain super keyword with example.
5. How can we protect sub class to override the method of super class? Explain with
example.
6. Define Interface and explain how it differs from the class.
7. What do you mean by run time polymorphism? Write a program to demonstrate run time
polymorphism.
8. What is an Exception? List out various built-in exceptions in JAVA and explain any one
Exception class with suitable example.
9. Explain in brief: Color class and its methods.
10. Compare Set and List interfaces.
11. Write importance of JAVAFX compare to AWT and Swing.
12. Define object-oriented concepts.
13. What is the difference between the StringBuffer and StringBuilder classes?
14. Define constructor. How objects are constructed? Explain constructor overloading with
an example.
15. Explain about arrays, Type of arrays and arrays methods.
16. Explain about Encapsulation, Abstraction.
17. Explain about Final class, Fields, Methods.
18. What is a Package? What are the benefits of using packages? Write down the steps in
creating a package and using it in a java program with an example.
19. Explain the thread state, thread properties and thread synchronization.
20. List out features of Java. Explain any two features.
21. Write a single program which demonstrates the usage of following keywords: i) import,
ii) new, iii) this, iv) break, v) continue
22. Defines types of inheritance.
23. Explain thread life cycle.
24. Explain Thread Synchronization with example.
25. What is Type Casting? Explain widening and narrowing type casting.
26. Explain following controls (1) Checkbox (2) Radio Button (3) Textfield (4) Label
27. Explain different layout panes used in JavaFX.
28. Explain Method Overloading and Overriding.
29. Explain all access modifiers and their visibility as class members.
30. Explain Java garbage collection mechanism.

You might also like