2nd Semester
3 PapersBCA
Select Paper / CourseCC-3
CC-34 CreditsMajor (MJC)
Programming in JAVA
Single-tap topic to complete/uncomplete • Hold (long-press) for Ask AI
1
Unit 1: Introduction to Java Platform
History
Philosophy, and Evolution of Java
Key Features of Java (Simple, Object-Oriented, Robust, Secure, Platform Independent)
Java Architecture: Java Development Kit (JDK), Java Runtime Environment (JRE), Java Virtual Machine (JVM), Bytecode and JIT Compiler
Java vs C++: Architectural Differences and Memory Model
2
Unit 2: Java Language Basics & Control Flow
Data Types
Variables
Constants
Arrays
Operators
Type Conversion & Casting
Control Statements: Selection (if-else, switch), Iteration (while, do-while, for, enhanced for-each loop), Jump statements (break, continue, return)
3
Unit 3: Classes, Objects & Methods
Class Fundamentals: Declaring Objects, Reference Variables, Assigning Object Reference Variables
Methods: Parameter Passing, Returning Values, Constructors, Default & Parameterized Constructors
This Keyword
Garbage Collection
Finalize() Method
Method Overloading
Constructor Overloading
4
Unit 4: Inheritance, Packages & Interfaces
Inheritance Basics: Member Access, super Keyword, Method Overriding, Dynamic Method Dispatch, Abstract Classes, final Keyword
Packages: Defining a Package, Finding Packages and CLASSPATH, Importing Packages, Access Protection
Interfaces: Defining an Interface, Implementing Interfaces, Nested Interfaces, Multiple Inheritance using Interfaces
5
Unit 5: Exception Handling & Multithreading
Exception-Handling Fundamentals: try, catch, throw, throws, finally
Built-in Exceptions
Creating Custom Exception Subclasses
Multithreaded Programming: Java Thread Model, Thread Lifecycle, Creating a Thread (Thread class & Runnable interface)
Thread Priorities
Synchronization
Inter-thread Communication (wait, notify, notifyAll)
Deadlocks
6
Unit 6: Java I/O, Applets & Collections Overview
Java I/O Streams: Byte Streams (FileInputStream, FileOutputStream) and Character Streams (FileReader, FileWriter)
Applet Fundamentals: Applet Lifecycle, paint(), repaint(), update(), Passing Parameters to Applets
Introduction to Java Collections Framework: ArrayList, LinkedList, Vector, Stack, HashMap basics
Recommended Textbooks:
Java: The Complete Reference - Herbert Schildt, McGraw Hill
Buy on AmazonHead First Java - Kathy Sierra & Bert Bates, O’Reilly
Buy on AmazonCore Java Volume I: Fundamentals - Cay S. Horstmann, Prentice Hall
Buy on Amazon