0% found this document useful (0 votes)
9 views3 pages

Java Programming Key Concepts and Examples

The document outlines important topics for a Java programming course, divided into five units covering Java program structure, string methods, operators, object-oriented programming, and exception handling. It includes key concepts such as visibility modifiers, packages, arrays, threading, and GUI components like AWT and Swing. Each unit contains specific questions and examples to illustrate the concepts discussed.

Uploaded by

akngamer1
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)
9 views3 pages

Java Programming Key Concepts and Examples

The document outlines important topics for a Java programming course, divided into five units covering Java program structure, string methods, operators, object-oriented programming, and exception handling. It includes key concepts such as visibility modifiers, packages, arrays, threading, and GUI components like AWT and Swing. Each unit contains specific questions and examples to illustrate the concepts discussed.

Uploaded by

akngamer1
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

JAVA PROGRAMMING

IMPORTANT 5 MARKS
[Link]: 225C3A

UNIT: - I

1. Java Statements / Java Program Structure.

2. Any TWO String Buffer Methods in Java with an example program.

3. Arithmetic & Bitwise operators in Java with an example.

4. Type Casting and its types in Java with an example program.

5. Java Console input.

6. Java Console output.

7. Switch statement in Java with an example program.

8. Applications of Object Oriented Programming.

9. Write the procedure to create & execute a simple Java program with an example.

10. Syntax of Branching statements in Java – if, if..else, Nested if..else, Switch.

11. How will you declare a variable in java? Give example.

12. JVM architecture with diagram.

13. Static Data.

14. Static Method.

15. Java Main Method.

1
UNIT: - II

1. Visibility Control / Visibility Modifiers / Member access rules / Access Protection.

2. Compare and contrast between Interface & Class.

3. What is a package? How to create a package?

4. Import statements in a package.

5. What is an array? What are the various types of arrays in java? Explain.

6. Write about Defining a class and Adding Methods in Java with examples / Java user
defined classes.

7. Java API packages.

8. Defining & Extending Interfaces in Java with an example program.

9. Abstract Methods in Java.

10. “this” & “super” keyword in Java with an example program.

11. Dynamic method dispatch.

12. Syntax of Single Inheritance in Java.

UNIT: - III

1. How to throw our own Exceptions in Java? Explain with an example Java Program.

2. Difference between throw & throws in Java with an example program.

3. Any TWO common Java exceptions in Java with an example program.

4. How to create a thread? Describe.

5. Finally statement in Java with an example program.

6. Distinguish between Multithreading & Multitasking.

7. Types of Built – in exceptions in Java.

8. Deadlock in Java with an example program.

2
UNIT: - IV

1. AWT Class Hierarchy.

2. Hierarchy of Swing Components.

3. Difference between AWT & Swing in Java.

4. Features of Swing.

5. Distinguish between JCheckBox and JRadioButton.

6. Any TWO Swing Controls in Java with an example program.

UNIT: - V

1. Inner classes in AWT in Java with an example program.

2. Enumeration in Java with an example program.

3. Difference between Vectors & ArrayList in Java.

You might also like