Java Programming E-Content
UNIT I : Introduction to Java, Tokens and Control Structures
Learning Objectives
• Understand Java fundamentals and OOP concepts.
• Learn Java program structure and JVM.
• Use variables, data types, operators and control statements.
Introduction to Java
Java is a high-level, object-oriented programming language developed by Sun Microsystems.
It is platform-independent because Java programs run on the Java Virtual Machine (JVM).
Features of Java
Simple, Object-Oriented, Platform Independent, Portable, Secure, Robust, Multithreaded,
Distributed.
Java Virtual Machine (JVM)
JVM converts bytecode into machine code and executes Java programs on different
platforms.
Data Types
byte, short, int, long, float, double, char, boolean.
Variables, Type Conversion, Operators, Control Structures, Static Members, String and
StringBuffer.
UNIT II : Classes, Objects, Inheritance, Interfaces and Packages
Learning Objectives
• Create classes and objects.
• Understand inheritance and polymorphism.
• Use interfaces and packages.
Topics:
Classes and Objects, Arrays, Constructors, Inheritance, Types of Inheritance,
this keyword, super keyword, Method Overloading, Method Overriding,
Abstract Classes, Polymorphism, final keyword, Packages and Interfaces.
UNIT III : Exception Handling and Threads
Learning Objectives
• Handle runtime errors.
• Create multithreaded programs.
• Understand synchronization.
Topics:
Errors and Exceptions, Checked and Unchecked Exceptions,
try, catch, finally, throw, throws,
Garbage Collection, Multithreading,
Thread Creation, Thread Life Cycle,
Inter-thread Communication and Deadlock.
UNIT IV : AWT Classes, Swing and Event Handling
Learning Objectives
• Design GUI applications.
• Use AWT and Swing components.
• Handle events.
Topics:
AWT, AWT Controls, Swing Components,
JFrame, Event Handling,
Event Delegation Model,
ActionListener, MouseListener, KeyListener, WindowListener.
UNIT V : Adapter Classes, Inner Classes, Utility Package, ArrayList and Vectors
Learning Objectives
• Learn adapter and inner classes.
• Use Collection Framework.
• Work with ArrayList and Vector.
Topics:
Adapter Classes, Inner Classes,
Java Utility Package,
Collections Framework,
Iterator, Enumeration,
ArrayList, Vector, Comparator.
Summary
This course covers Java basics, OOP concepts, inheritance, interfaces, exception handling,
multithreading, GUI programming using AWT and Swing, and collections such as ArrayList
and Vector.