University of Engineering and Management
Institute of Engineering & Management, Salt Lake Campus
Institute of Engineering & Management, New Town Campus
University of Engineering & Management, Jaipur
Syllabus for [Link] Admission Batch 2022-2026
Subject Name: Object Oriented Programming with Java Credit: 2 Lecture Hours: 30
Subject Code: OEC481
Pre-requisite: C, Basic knowledge of programming language.
Relevant Links:
Study Material Coursera NPTEL Linkedin Learning Infosys Springboard
Course Objectives:
1. To introduce the object-oriented programming concepts.
2. To understand object-oriented programming concepts, and apply them in solving problems.
3. To introduce the principles of inheritance and polymorphism; and demonstrate how they relate to the design of abstract classes, the concepts of
exception handling.
4. To introduce the design of Graphical User Interface using applets and swing controls.
Course Outcomes:
Students will be able to
CO1:Identify the need for solving the real world problems using the concepts of java programming – advantages of java, byte-
code & JVM, data types, access specifiers, operators, control statements & loops, array, creation of class.
CO2: Understand the implementation of Object oriented concepts using Java through. Class, object, message passing,
inheritance, encapsulation, polymorphism.
CO3:Apply the concept of mutable and immutable string, basics of I/O operations – keyboard input using Buffered Reader &
Scanner classes for real life applications.
CO4:Create web applications and GUI based applications.
Topic Sub-topics Mapping with Lecture Text Book Mapping Corresponding Lab Assignment
Module Industry and Hours
number International
Academia
1 Concepts of Basic concepts of java International 4 Chapter 1, 2, 3, 4, 5,
object oriented programming – advantages of Academia: 6, 7, 8 1. WAP in Java to create a class
programming java, byte-code & JVM, JDK, [Link] with two methods to perform area
language JRE , concepts of classes and om/file/d/10z00dMd2 and perimeter of a circle.
using Java objects, variables and data 6WjiPThhCercGbsi6 2. WAP in java to show the use of
types, access modifiers, u3ciE62/view?usp=dr methods with return types and
operators, control statements & ive_link methods without return types.
loops, array, creation of class.
3. WAP in java to show hope to take
Methods and, Visibility, [Link]
user defined input using
switch-case, Use of Static, om/file/d/1k3qrfDL9
final, Java Stack and Heap with p5_IJR_iP2mt6c6Az Command Line argument.
Reference Variables, Records. wmByNtf/view?usp= 4. WAP to show how using
sharing command Line arguments String,
Float, Double variables are
Ways of creating Objects, AICTE-prescribed accessed in a code.
cloning of Objects, compiling syllabus: 5. WAP in java to show how to use
Java programs using command [Link] “for” loops in the main class to
line, creating and deploying [Link]/sites/default evaluate any iterative classes.
executable programs using /files/Model_Curricul 6. Create a calculator to show basic
JARs, creating Jars using um/AICTE%20- operations like addition,
command line, Primitive Types %20UG%[Link] multiplication and Subtraction.
in Java, Casting in Java,
Operators, operands and Industry Mapping:
expressions Hackerrank, TCS
ts using Java. Codevita projects,
GitHub
Difference between OOP and platform. NetBeans
other conventional and Eclipse IDE will
programming – advantages and be
disadvantages. Class, object, used.
message passing, inheritance,
encapsulation, polymorphism.
Interfaces, Abstract Classes.
Overloading,
Overriding(Method and
constructor overloading), Static
and Instance variables. final
and static keywords in
javaConstructors in Java, Types
of constructors, Copy
constructors.
2 Object Implementation of Object International 4 Chapter 8, 9, 32 1. Defined methods to perform
oriented oriented concept. Standards basic operations like add,
concepts [Link] subtract, division, multiplication
om/file/d/1Rc1KOzk where values must be passed
VRHqLEWApFBplw from the main method.
z7s8IwsyFlf/view?us
p=sharing 2. Define user-defined methods for
the following: without argument
[Link] and without return type, with
om/file/d/1e8g7D6nu argument/s and without return
MwEruToXtNDbh68 type, with argument/s and with
vx2VKUrgS/view?us
return type. Call all from the
p=sharing
main.
AICTE prescribed 3. Write the program to show: single
syllabus: inheritance, multilevel
inheritance, hierarchical
[Link] inheritance, multiple inheritance.
[Link]/sites/default
/files/Model_Curricul 4. Write a program to show the
um/AICTE%20- polymorphism: constructor
%20UG%[Link] overloading, method
overloading, method overriding.
5. WAP to show how the “final”
Industry keyword can be used to prevent
Mapping:Hackerrank method overriding.
, TCS Codevita
projects, GitHub 6. WAP to show what are the
platform. NetBeans significant uses of “final”
and Eclipse IDE will keyword in java.
be
used. 7. WAP to show how “static”
keyword can be used to create
static variables.
8. WAP to show how “static” block
can be created.
9. WAP to show how “static”
keywords can be used with a
constructor.
10. Justify when method overloading
behaves like method overriding.
11. WAP in java to show “multiple
inheritance ” can be implemented
in java.
12. WAP in java to show “interface
can be extended in java”
13. WAP in java to show using
Single inheritance how a method
can be overloaded.
14. WAP to define “abstract” class in
java.
3 Object Object, constructor, garbage International 8 Chapter 6, 7, 13, 15
properties collection in java (finalize()) Standards : and 17
Language Use of method overloading, this 1. Write a program to
features to be keyword, use of objects as AICTE prescribed demonstrate for the
covered: parameter & methods returning syllabus: following: object as a
objects, call by value & call by [Link] parameter of method, object
Java reference, static variables & [Link]/sites/default type as return type of a
Collection methods, /files/Model_Curricul method.
Framework basic string handling concepts. um/AICTE%20- 2. Consider a class Visit, on
%20UG%[Link] creation of each object
value of a counter variable
Concept of mutable and is incremented by 1 and
immutable string. String Buffer Industry Mapping: shows the value each time.
and StringBuilder Hackerrank, TCS Use the static variable and
Codevita projects, write the program.
Basics of I/O operations – GitHub 3. Write a program to show
keyboard input using Buffered platform. NetBeans the use of command
Reader & Scanner classes. and Eclipse IDE will argument passing.
be 4. Write a program to take
used. input of first name, last
name. Then print as full
List, ArrayList, Map, name.
HashMap, Set, TreeSet, 5. Write a program to take
HashSet. user inputs for int, float,
double, String using
Scanner class. Then print
all.
6. Take a string input and
show use of different string
methods.
7. WAP in java to show String
in java is “mutable” or
“immutable.”
4 Reusability Super class & subclasses International 6 Chapter 8, 15 1. Write a program to show the use
properties including multilevel hierarchy. Standards: of super and super().
[Link] 2. “Super class gets constructed
Process of constructor calling ns7870/6/6.005/s16/cl before subclasses”. write a
in inheritance, use of super and asses/09- program to support this in
final keywords with super() immutability/ multilevel and hierarchical
method.
inheritance.
[Link]
3. Create an abstract class named
Dynamic method dispatch, use ourses/6-088-
of abstract classes & methods, introduction-to-c- "Shape" with an abstract method
interfaces. memory- "calculateArea()." Implement
management-and-c- two subclasses, "Circle" and
object-oriented- "Rectangle," which extend the
programming- "Shape" class and provide their
january-iap- implementations for the
2010/67b1aec3f2867 "calculateArea()" method.
734ec0fb33034c8b5c 4. Create an abstract class named
8_MIT6_088IAP10_l "Vehicle" with instance variables
[Link] for "model" and "year." Include
an abstract method named
AICTE prescribed
"start()" and a non-abstract
syllabus:
method "displayDetails()" that
[Link] prints the model and year.
[Link]/sites/default Implement two subclasses, "Car"
/files/Model_Curricul and "Motorcycle," each with its
um/AICTE%20- own version of the "start()"
%20UG%[Link] method.
5. Create an abstract class "Bank"
Industry Mapping: with an abstract method
Hackerrank, TCS "calculateInterest()." Implement
Codevita projects, two subclasses,
GitHub "SavingsAccount" and
platform. NetBeans
"LoanAccount," each with its
and Eclipse IDE will
own implementation of the
be
used. "calculateInterest()" method.
6. Create an interface named
"Drawable" with a method
"draw()." Implement two classes,
"Circle" and "Rectangle," each
implementing the "Drawable"
interface with its own version of
the "draw()" method.
7. WAP to show multilevel
inheritance, deal with default
constructors and find the order of
output being encountered.
8. WAP program in java to show
how hybrid inheritance can be
implemented in java.
9. WAP in java to show how
constructors can be used while
using inheritance.
5 Exception System defined and Used 4 Chapter 10 and 11 1. WAP to show how
handling define Packages,Exception International “ArithmeticException” and
Multithreadin handling basics, Basics of Standards: “ArrayIndexOutOfBoundsExcep
g multithreading. [Link] tion” can be used.
om/file/d/1kbRGF396 2. WAP to justify “is it possible to
sQPdQbA4w- use"try " without"catch " block".
N81ElKU_bdGgFs/vi
3. WAP to show the use of “Nested
ew?usp=sharing
Try Catch” in java.
4. WAP to show how to use system
AICTE prescribed defined packages in java.
syllabus: 5. WAP to use how to create user
defined packages in java.
[Link] 6. Consider a method div that takes
[Link]/sites/default two arguments of int type to
/files/Model_Curricul perform division. Use try, catch,
um/AICTE%20- finally so that the program will
%20UG%[Link] not be terminated due to any
exception for all scenario (values
Industry Mapping: passes through div).
Hackerrank, TCS
7. Write a program to show the
Codevita projects,
GitHub working of multiple threads using
platform. NetBeans Thread class, and Runable
and Eclipse IDE will interface.
be
used.
6 AICTE prescribed 4 Chapter 13 and 29 1. WAP in java using an applet to
Applet and Basics of applet programming, syllabus:[Link] show how to draw
swing applet life cycle. aicte- “Line,Arc,Oval, Rectangle and
Programming [Link]/sites/default String.”
Difference between application /files/Model_Curricul
& applet programming. um/AICTE%20- 2. WAP in java to show how to
%20UG%[Link] color boundaries and complete
Server/client communication, area of specific objects designed
Hardware communication, by applet.
Enterprise communication
Industry Mapping: 3. WAP in java Design an applet
Hackerrank, TCS program to design different
Codevita projects, shapes.
GitHub
platform. NetBeans 4. Develop an applet program to
and Eclipse IDE will demonstrate lifecycle of applet.
be
used. 5. Design a swing application to
show the user of Listener.
6. Design a swing application of
basic calculators.
7. Design and implementation
Printer driver.
8. Designing of Enterprise Resource
Planning (ERP) and application.
9. Designing of Customer
Relationship Management
(CRM).
10. TCP Client-Server
communication (Socket
programming).
Text Books:
1. Schildt, H., Java: The Complete Reference 12th Edition, McGraw-Hill Education Group.
Reference Books:
1. Horton, I. (2004). Beginning JavaTM 2. John Wiley & Sons.