0% found this document useful (0 votes)
2 views4 pages

Java Important Questions

The document outlines the syllabus for a Java programming course, divided into four units with topics ranging from Object-Oriented Programming (OOP) concepts, exception handling, and multithreading to GUI development using AWT. Each unit includes both 2-mark and 16-mark questions, covering practical programming tasks and theoretical concepts. Key subjects include inheritance, polymorphism, exception handling, and thread management.

Uploaded by

judsonasaph.al24
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)
2 views4 pages

Java Important Questions

The document outlines the syllabus for a Java programming course, divided into four units with topics ranging from Object-Oriented Programming (OOP) concepts, exception handling, and multithreading to GUI development using AWT. Each unit includes both 2-mark and 16-mark questions, covering practical programming tasks and theoretical concepts. Key subjects include inheritance, polymorphism, exception handling, and thread management.

Uploaded by

judsonasaph.al24
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

Unit – 1

2 - Marks
1. Features of OOPS
2. Java Program for Odd or Even
3. Operators Precedence in Java Programing
4. Command Line argument
5. Static Block
6. JVM
7. Any Control Statement
8. Array in java
9. Why java avoid multiple inheritance
10. Palindrome

16 -Marks
1. Types of operators
2. Programs
i. Leap Year or Not
ii. Multiplication Table
iii. Prime No
3. Control Statement (Looping, Branching)
4. Write a program Student Eligible for a scholarship check using operators
5. OOP’s Concepts with Example Programs
6. JVM
7. Constructor
8. Array
9. Max Element in an Array
10. Vowels in given String
11. String Handling Function
Unit – 2

2 - Marks
1. Final Keywords
2. Types of Inheritance
3. Interface
4. Protected member in Subclass
5. Polymorphism
6. Subclass & Superclass
7. Final Class & Final Method
8. Access Specifiers
9. Polymorphisms achieved through method overloading & overriding
10. Differentiate between abstract class & interface

16 -Marks
1. Subclass & Superclass
2. Using Super Keyword create multiclass
3. Inheritance
4. Different types of access modifiers
5. Polymorphisms
6. Packages {Benefits using packages}
7. Interfaces
Unit – 3

2 - Marks
1. Differentiate between Expection & error
2. Exception Handling
3. File Writer Class
4. Checked & Unchecked Exception
5. Throws Keywords
6. Data input and output stream
7. User Exception
8. Multiple Catch Block
9. Byte Oriented & Character Oriented Stream
10. Java Program to read & write file

16 -Marks
1. Exception Handling {Online Shopping & Banking}
2. Exception Hierarchy (Checked & Unchecked)
3. Types of Exception with Program
4. Differentiate between throw & throws Keywords
5. The process of reading data from console using scanner vs buffer reader with
more efficient
6. Read text from the file read accurance of each word and display using file
reader to implents this
7. Buffer & Buffer writer program
Unit – 4

2 - Marks
1. Create Threads
2. Life Cycle of Threads
3. Get priority method
4. About action listeners
5. Different states of threads
6. Develop a java to create two threads to print number 1 – 5 along with threads
7. Runnable State [how can a waited thread be moved back to runnable state]
8. Button click AWT application

16 -Marks
1. Java Program to illustrate waited (), notify all () and notify ()
2. Sleep (), run (), join ()
3. Multithread Concepts
4. Two ways to create threads in multithreading
5. Program Create 3 threads 1st thread getting n number as input 2nd thread
printing even no 3rd thread printing odd no
6. Interthread for solving producer and consumer problem
7. Strings Concepts (in students register forms as a java program)
8. Using AWT create simple calculator
9. Using AWT student registration form
10. Jlabel / Jtextfeild / Jcombobox / Jtextmedia / Jbutton

You might also like