Category Hours/Week
Course Course Name (PC/PEC/O L T P C
Code EC/SDC)
OBJECT ORIENTED PCC 3 0 0 3
23C01003
PROGRAMMING
THROUGH JAVA
Semester Data
Book/Codes/Stan
d ards (Based on
Regulatio Nature of the Course course, any data
n tables / codes
required), if not put
NA
R 23 Theory I SEMESTER
Pre-requisite Course (s):
Basic Knowledge of Programming
Course Objective (s)
1 Identify Java language components and how they work together in
applications.
Learn the fundamentals of object-oriented programming in Java,
2
including defining classes, invoking methods, using class libraries.
Learn how to extend Java classes with inheritance and dynamic binding
3
and how to use exception handling in Java applications.
4 Understand how to design applications with threads in Java.
5 Understand how to use Java APIs for program development.
Course Content
UNIT-1 Object Oriented Programming CO1 9 Hrs
Object Oriented Programming: Basic concepts, Principles, Program Structure
in Java: Introduction, Writing Simple Java Programs, Elements or Tokens in Java
Programs, Java Statements, Command Line Arguments, User Input to Programs, Escape
Sequences Comments, Programming Style.
Data Types, Variables, and Operators :Introduction, Data Types in Java, Declaration of Variables,
Data Types, Type Casting, Scope of Variable Identifier, Literal Constants, Symbolic Constants,
Formatted Output with printf() Method, Static Variables and Methods, Attribute Final,
Introduction to Operators, Precedence and Associativity of Operators, Assignment Operator (
= ), Basic Arithmetic Operators, Increment (++) and Decrement (- -) Operators, Ternary Operator,
Relational Operators, Boolean Logical Operators, Bitwise Logical Operators.
Control Statements: Introduction, if Expression, Nested if Expressions, if–else Expressions, Ternary
Operator(?:), Switch Statement, Iteration Statements, while Expression, do– while Loop, for Loop,
Nested for Loop, For–Each Loop, Break Statement, Continue Statement.
UNIT-2 Classes and Objects CO2 9 Hrs
Classes and Objects: Introduction, Class Declaration and Modifiers,
Class Members,Declaration of Class Objects, Assigning One Object to
Another, Access Control for Class Members, Accessing Private Members
of Class, Constructor Methods for Class, Overloaded Constructor
Methods, Nested Classes, Final Class and Methods, Passing Arguments
by Value and by Reference, Keyword this.
Methods: Introduction, Defining Methods, Overloaded Methods,
Overloaded Constructor Methods, Class Objects as Parameters in
Methods, Access Control, Recursive Methods, Nesting of Methods,
Overriding Methods, Attributes Final and Static.
UNIT-3 Arrays CO3 9 Hrs
Arrays: Introduction, Declaration and Initialization of Arrays, Storage of Array in
Computer Memory, Accessing Elements of Arrays, Operations on Array Elements,
Assigning Array to Another Array, Dynamic Change of Array Size, Sorting of
Arrays, Search for Values in Arrays, Class Arrays, Two-dimensional Arrays, Arrays
of Varying Lengths, Three-dimensional Arrays, Arrays as Vectors.
Inheritance: Introduction, Process of Inheritance, Types of Inheritances, Universal
Super Class- Object Class, Inhibiting Inheritance of Class Using Final, Access
Control and Inheritance, Multilevel Inheritance, Application of Keyword Super,
Constructor Method and Inheritance, Method Overriding, Dynamic Method
Dispatch, Abstract Classes, Interfaces and Inheritance.
Interfaces: Introduction, Declaration of Interface, Implementation of Interface,
Multiple Interfaces, Nested Interfaces, Inheritance of Interfaces, Default Methods in
Interfaces, Static Methods in Interface, Functional Interfaces, Annotations.
UNIT-4 Packages and Java Library, Exception Handling CO4 9 Hrs
Packages and Java Library:Introduction, Defining Package, Importing Packages
and Classes into Programs, Path and Class Path, Access Control, Packages in Java
SE, Java.lang Package and its Classes, Class Object, Enumeration, class Math,
Wrapper Classes, Auto-boxing and Auto- unboxing, Java util Classes and
Interfaces, Formatter Class, Random Class, Time Package, Class Instant
(java.time.Instant), Formatting for Date/Time in Java, Temporal Adjusters Class,
Temporal Adjusters Class.
Exception Handling: Introduction, Hierarchy of Standard Exception Classes,
Keywords throws and throw, try, catch, and finally Blocks, Multiple Catch Clauses,
Class Throwable, Unchecked Exceptions, Checked Exceptions.
Java I/O and File: Java I/O API, standard I/O streams, types, Byte streams,
Character streams, Scanner class, Files in Java(Text Book 2)
UNIT-5 String Handling in Java CO5 9Hrs
String Handling in Java: Introduction, Interface Char Sequence, Class String,
Methods for Extracting Characters from Strings,Comparison, Modifying,
Searching; Class String Buffer. Multithreaded Programming: Introduction, Need
for Multiple Threads Multithreaded Programming for Multi-core Processor, Thread
Class, Main Thread-Creation of New Threads,
Thread States, Thread Priority-Synchronization, Deadlock and Race Situations,
Inter-thread Communication - Suspending, Resuming, and Stopping of Threads.
Java Database Connectivity: Introduction, JDBC Architecture, Installing MySQL
and MySQL Connector/J, JDBC Environment Setup, Establishing JDBC Database
Connections, ResultSet Interface
Java FX GUI: Java FX Scene Builder, Java FX App Window Structure, displaying
text and image, event handling, laying out nodes in scene graph, mouse events.
TOTAL HOURS 45 Hrs.
Learning Resources
Text Books
1 JAVA one step ahead, Anitha Seth, B.L.Juneja, Oxford.
Joy with JAVA, Fundamentals of Object Oriented Programming, DebasisSamanta,
2
MonalisaSarma, Cambridge, 2023.
3 JAVA 9 for Programmers, Paul Deitel, Harvey Deitel, 4th Edition, Pearson.
Reference Books
1 The complete Reference Java, 11thedition, Herbert Schildt,TMH.
2 Introduction to Java programming, 7th Edition, Y Daniel Liang, Pearson.
Online Resources
1 https://nptel.ac.in/courses/106/105/106105191/
2 https://infyspringboard.onwingspan.com/web/en/app/toc/lex_auth_012880464547618816
347_shared/overview
Course Outcomes (s)
CO1 Gain proficiency in basic object-oriented programming concepts, Java program structure, data
types, variables, operators, and control statements.
CO2 Develop skills to create and manage classes, objects, and methods, including constructor
methods,
access control, method overloading, and method overriding.
CO3 Understand and implement arrays, various inheritance types, and interfaces, including handling
multidimensional arrays and utilizing abstract classes and interfaces.
CO4 Learn to organize code using packages, handle exceptions effectively, and perform input/output
operations with Java I/O and file handling.
CO5 Acquire the ability to manage strings, implement multithreaded programming, connect to
databases using JDBC, and create graphical user interfaces with Java FX.
Articulation Matrix
COs. POs PSOs
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2
1 3 - - - - - - - - - - - 3 2
2 3 2 1 - - - - - - - - - 3 2
3 3 1 1 - - - - - - - - - 3 2
4 3 2 1 - - - - - - - - - 3 2
5 3 2 2 2 - - - - - - - - 3 3