Java Programming (IT-504 (C)) - Important Questions
-
7 Marks High Priority Asked: 2024, 2020
What is a Constructor in Java? Explain its types with a suitable example/program, e.g., finding the area of a circle using a constructor.
Appeared 2x (2024, 2020)
-
7 Marks High Priority Asked: 2024, 2020
Explain the difference between method overloading and method overriding with example.
Appeared 2x (2024, 2020)
-
7 Marks High Priority Asked: 2024
Explain Dynamic Method Dispatch in Java with example program.
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2024
Define abstract class and explain all cases for implementing an abstract class.
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2024
Explain Java garbage collection mechanism.
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2022
Justify why Java is an object-oriented language.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2022
How to create a package in Java with an example.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2022
Explain how multiple inheritance is implemented in Java.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2022
Discuss various levels of access protection available for packages and their Implementations.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2022
Explain any two of the following:
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2024, 2022, 2020, 2019
Explain the life cycle of an Applet with suitable example.
Appeared 4x (2024, 2022, 2020, 2019)
-
7 Marks High Priority Asked: 2024
Write a java swing program to find the sum of two numbers.
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2022, 2019
What is Abstract Window Toolkit (AWT)? Explain its facilities, containers and components in detail.
Appeared 2x (2022, 2019)
-
7 Marks High Priority Asked: 2022
Explain in brief about event sources and event listeners.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2024
What is multithreading in Java? Explain the inter thread communication with the help of suitable example.
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2024
Write a Java program that creates three threads displaying specific messages at 1 second, 2 seconds and 5 seconds intervals
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2024
Explain throw vs throws statements in Java in detail with examples.
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2022, 2020, 2019
Explain exception handling in Java with try, catch, finally and throw blocks using a suitable example program.
Appeared 4x (2022, 2020, 2019)
-
7 Marks High Priority Asked: 2022, 2020
Explain Thread class and Runnable interface and write a Java program to demonstrate multithreading
Appeared 2x (2022, 2020)
-
7 Marks High Priority Asked: 2022
Explain the terms try, catch, throw and assertions in Java with examples.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2022
Explain thread synchronization with an example program.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2022
What are the basic steps for using JDBC to access database? Explain briefly with syntax.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2022
Write a program to copy content of one file to another using character stream class.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2022
What is a Stream? What is the difference between byte streams and character streams? How are they used to capture input from the user?
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2022
Write a Java program to illustrate communication between client and server.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2024
Illustrate the Iteration Statements with example.
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2024
Demonstrate what are Jump statements? Give an example for each of them.
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2024
Discuss about the static, final keywords with an example.
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2024
Write a program in Java to find $n^{th}$ prime number where $n$ is any integer and should be taken as input from the user.
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2024
What is introspection in java beans? Explain how BeanInfo interface helps in introspection of beans?
Appeared 1x (2024)
-
7 Marks High Priority Asked: 2024
Explain the following methods bind(), rebind(), createSubcontext(), getAttributes(), modifyAttributes() method with syntax.
Appeared 1x (2024)
Quick Add to Notes
Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.
Create free accountHave an account? Log in
Notes Panel