Object Oriented Programming Concepts Using Java
Object Oriented Programming Concepts Using Java
DETAILED SYLLABUS
UNIT I (Contact hours: 6)
Overview of course, Create executable Java applications with a main method, run a
Java program from the command line, including console output, Platform
independence, create if and if/else and ternary constructs, Use a switch statement;
Create and use while loops, for loop, Create and use do/while loops, Nested loops,
Define the scope of variables, object orientation, encapsulation, Abstraction etc; Know
how to read or write to object fields, Explain an Object’s Lifecycle
(creation,“dereference by reassignment” and garbage collection), Wrapper classes such
as Boolean, Double, and Integer, Use Java operators; including parentheses, String
operations; Declare, instantiate, initialize and use a one-dimensional array, multi-
dimensional array.
UNIT II (Contact hours: 7)
Create methods with arguments and return values, Apply the static keyword to methods
and fields, Create and overload constructors; including impact on default constructors;
Apply access modifiers, Apply encapsulation principles to a class; Constructor,
destructor, Describe inheritance and its benefits; Develop code that demonstrates the
use of polymorphism, use super and this to access objects and constructors, use abstract
classes and interfaces, Searching Sorting, Stack and queue
UNIT III (Contact hours: 5)
Differentiate among checked exceptions, unchecked exceptions, and Errors, create a
try-catch block and determine how exceptions alter normal program flow; Describe the
advantages of Exception handling, create and invoke a method that throws an
exception.
UNIT IV (Contact hours: 9)
Packages- Defining a Package, CLASSPATH, Access protection, importing packages.
Command line arguments. Declare and use an Array List, Vectors collection Class.
Multithreading- Differences between thread-based multitasking and process-based
multitasking, Java thread model, creating threads, thread priorities, synchronizing
threads, inter thread communication.
UNIT V (Contact hours: 9)
The Byte Stream: Input stream, output stream, file input stream, file output stream, print
stream, Random access file, the character streams, Buffered reader, buffered writer,
Swings: JLabel and ImageIcon, JTextField, JButton, JTabded pan, JScrolpan, Action
listener, JDBC Connection with Database.
TEXTBOOKS/LEARNING RESOURCES:
1. Java The complete reference, 9th edition, Herbert Schildt, McGraw Hill Education
(India) Pvt. Ltd.
2. Understanding Object-Oriented Programming with Java, updated edition, T.
Budd, Pearson Education.