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

Java VI Semester Study Guide: Key Concepts

The document outlines key concepts in Java programming, including data types, string handling, constructors, and exception handling. It covers various components such as multithreading, AWT components, JDBC, and the differences between related technologies like JSP and Servlets. Additionally, it touches on networking concepts like TCP/IP and UDP communication.

Uploaded by

baliyanarpit928
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 VI Semester Study Guide: Key Concepts

The document outlines key concepts in Java programming, including data types, string handling, constructors, and exception handling. It covers various components such as multithreading, AWT components, JDBC, and the differences between related technologies like JSP and Servlets. Additionally, it touches on networking concepts like TCP/IP and UDP communication.

Uploaded by

baliyanarpit928
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 VI SEMESTER – ALL ANSWERS (ENGLISH)

1. Data Types in Java:

Primitive: byte, short, int, long, float, double, char, boolean.

Non-Primitive: String, Arrays, Class, Object, Interface.

2. String & StringBuffer:

String is immutable. StringBuffer is mutable.

3. Constructor:

Special method called during object creation.

Types: Default, Parameterized.

4. Vector:

Dynamic array; synchronized.

5. Adapter Class:

Provides empty method implementations of an interface.

6. Inheritance:

One class acquiring properties of another.

7. Exception Handling:

Managing runtime errors. Keywords: try, catch, finally, throw, throws.

8. Multithreading:

Executing multiple tasks simultaneously.

9. AWT Components:

Button, Label, TextField, Checkbox, Frame, Panel, etc.

10. Applet:

Small Java program that runs in browser.


11. JDBC:

Java Database Connectivity. Drivers: JDBC-ODBC, Native API, Network Protocol, Thin driver.

12. Selection:

Decision-making statements like if, switch.

13. TCP/IP Socket:

Reliable connection-oriented communication.

14. Tag:

Provides metadata. Attributes: charset, name, content, http-equiv.

15. Image Map:

Clickable areas on an image.

16. HTML Student Form:

Form with name, email, phone, gender, course fields.

17. Datagram Socket:

Used for UDP communication.

18. JSP:

Server-side technology with HTML + Java.

19. Servlet:

Java program that runs on server to generate dynamic pages.

20. Differences:

GET vs POST, String vs StringBuffer, JDBC vs ODBC, JSP vs Servlet, Static vs Dynamic Pages,
Applet vs Application.

You might also like