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

Java Programming Concepts and Techniques

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)
5 views2 pages

Java Programming Concepts and Techniques

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

5 marks

Unit 1 & 2
1. List and explain different primitive data types available in Java.
2. Explain the main features of Java programming language.
3. Explain Arithmetic and Relational operators in java with suitable examples.
4. Explain logical and special operators in java.
5. Explain how do you define and use a constructor with an example.
6. Explain method overriding with suitable example.
7. Define an array? Explain how to declare, initialize one-dimensional array with an example.
8. Explain single inheritance with an example.
9. Explain how to create and use a package in Java with suitable example.
10. List and explain different API packages available in Java
11. Explain how to define a class in Java with a suitable example.
12. Explain any five String methods with an example.
13. Explain multi-level inheritance with an example.
14. Explain how to create and implement interface using a suitable example.
15. Describe the structure of a simple Java program with an example.
16. Explain the ternary operator with syntax and example program.(conditional operator)
17. Explain abstract class with an example.
18. Discuss the rules for declaring and assigning values to variables with example.

Learn all loops with example and conditional statements(if,if..else …etc)


Unit 3 & 4
[Link] a short note on GUI components: Buttons, Checkboxes, Radio buttons Labels, Text fields, Text
area.

2. Discuss the working of the following layout managers with examples

FlowLayout

BorderLayout

GridLayout

3. Explain the life cycle of an Applet.

4. Explain exception handling mechanism in Java with syntax.

5. Explain the life cycle of a Thread with diagram.

6. List and explain any five thread methods.

7. List and explain any 6 methods defined by Applet

[Link] mouse events in Java with suitable methods.

[Link] a program to demonstrate the use of try–catch–finally block.

10. Explain the features of swing.

[Link] the process of creating a thread by Extended Thread class.

12Explain the process of creating a thread by implementing Runnable interface with suitable
example.

[Link] Thread Synchronization.

[Link] the process of embedding an Applet in an HTML page. Explain the use of the <applet>

tag and its attributes such as code, width, and height.

[Link] the importance of InputStream, OutputStream, Reader, and Writer abstract classes.

[Link] of use of BufferedReader and BufferedWriter and highlighting their advantages

[Link] of use FileReader and FileWriter and highlighting their advantages

You might also like