BCA Semester 3 – OOP in Java – Unit 11: Java Applications (8Hrs)
Comprehensive questions and detailed answers for Unit 11: Java Applications (8Hrs). Perfect for exam preparation and concept clarity.
Define super, final and this keyword in java. Explain the concept of MVC in brief.
a) Define Collection Class. Explain different Wrapper classes and associated methods in java.
b) Define AWT. Explain different types of Layout Managers in java
a) Differentiate between java AWT and java Swing. Explain the different types of layout managers in java GUI programming.
b) Write a java GUI program to calculate square of entered number.
How AWT is differing from Swing? Write a GUI program using components to find factorial and cube of number. Use TextField for giving input and Label for output. The program should display factorial if user press mouse on result button and cube if user release mouse from result button.
What is internal frames? Write a java program that display two internal frame within some parentframe.
What is MVC design pattern? Write a GUI program using swing components to calculatesum and difference of two numbers. Use two text fields for input and pre-built dialog box forutput. Your program should display sum if Add button and difference if subtract button isclicked.
Write a program to create the following simple GUI based application. If user press the Submit button, your program should store the information in a file named "exam.txt" only when he accepts the terms and condition otherwise it should display a message "please accept the terms and condition first".

Sample Questions
a) Define Collection Class. Explain different Wrapper classes and associated methods in java.\ b) Define AWT. Explain different types of Layout Managers in java
a) Differentiate between java AWT and java Swing. Explain the different types of layout managers in java GUI programming. b) Write a java GUI program to calculate square of entered number.
How AWT is differing from Swing? Write a GUI program using components to find factorial and cube of number. Use TextField for giving input and Label for output. The program should display factorial if
What is internal frames? Write a java program that display two internal frame within some parentframe.
And more questions available on this page.