B. Tech (CSE/IT/CS)/M.Tech.
Integrated
2nd Year , 3rd Sem
Course L T P Credit
code
Course title OBJECT ORIENTED TECHNIQUES USING 3 0 0 3
JAVA
Course objective:
The objective of this course is to understand the object-oriented methodology and its techniques to
design and develop conceptual models and demonstrate the standard concepts of object-oriented
techniques modularity, I/O. and other standard language constructs. The basic objective of this course is
to understand the fundamental concepts of object-oriented programming in Java language and also
implement the Multithreading concepts, GUI based application and collection framework.
Pre-requisites:
Student must know at least the basics of how to use a computer, and should be able to start a
command line shell.
Knowledge of basic programming concepts, as covered in ‘Programming Basic” course is
necessary.
Course Contents / Syllabus
UNIT-I Introduction 8 Hours
Object Oriented Programming: Introduction and Features: Abstraction,
Encapsulation, Polymorphism, and Inheritance.
Modeling Concepts: Introduction, Class Diagram and Object Diagram.
Control Statements: Decision Making, Looping and Branching,
Argument Passing Mechanism: Command Line Argument.
UNIT-II Basics of Java Programming 8 Hours
Class and Object: Object Reference, Constructor, Abstract Class,
Interface and its uses, Defining Methods, Use of “this” and “super”
keyword, Garbage Collection and finalize () Method.
Inheritance: Introduction and Types of Inheritance in Java, Constructors
in Inheritance.
Polymorphism: Introduction and Types, Overloading and Overriding.
Lambda expression: Introduction and Working with Lambda Variables.
Arrays: Introduction and its Types.
UNIT-III Packages, Exception Handling and String Handling 8 Hours
Packages: Introduction and Types, Access Protection in Packages, Import
and Execution of Packages.
Exception Handling, Assertions and Localizations: Introduction and
Types, Exceptions vs. Errors, Handling of Exception. Finally, Throws and
Throw keyword, Multiple Catch Block, Nested Try and Finally Block.
Assertions and Localizations Concepts and its working.
String Handling: Introduction and Types, Operations, Immutable String,
Method of String class, String Buffer and String Builder class.
UNIT-IV Concurrency in Java and I/O Stream 8 Hours
Threads: Introduction and Types, Creating Threads, Thread Life-Cycle,
Thread Priorities, Daemon Thread, Runnable Class, Synchronizing
Threads.
I/O Stream: Introduction and Types, Common I/O Stream Operations,
Interaction with I/O Streams Classes.
Annotations: Introduction, Custom Annotations and Applying
Annotations.
UNIT-V GUI Programming, Generics and Collections 8 Hours
GUI Programming: Introduction and Types, Applet, Life Cycle of
Applet, AWT, Components and Containers, Layout Managers and User-
Defined Layout and Event Handling.
Generics and Collections: Introduction, Using Method References,
Using Wrapper Class, Using Lists, Sets, Maps and Queues, Working with
Generics.
Course outcome: After completion of this course students will be able to:
CO1 Identify the concepts of object oriented programming and relationships
K2
among them needed in modeling.
CO2 Demonstrate the Java programs using OOP principles and also implement
K3
the concepts of lambda expressions.
CO3 Implement packages with different protection level resolving namespace K3, K5
collision and evaluate the error handling concepts for uninterrupted
execution of Java program.
CO4 Implement Concurrency control, I/O Streams and Annotations concepts
K3
by using Java program.
CO5 Design and develop the GUI based application, Generics and Collections
K6
in Java programming language to solve the real-world problem.
Text books:
1) Herbert Schildt,” Java - The Complete Reference”, McGraw Hill Education 12th edition
2) Herbert Schildt,” Java: A Beginner’s Guide”, McGraw-Hill Education 2nd edition
3) James Rumbaugh et. al, “Object Oriented Modeling and Design”, PHI 2nd Edition
Reference Books:
1) Cay S. Horstmann, “Core Java Volume I – Fundamentals”, Prentice Hall
2) Joshua Bloch,” Effective Java”, Addison Wesley
3) E Balagurusamy, “Programming with Java A Primer”, TMH, 4th edition.
Link:
Unit 1 https://www.youtube.com/watch?
v=r59xYe3Vyks&list=PLS1QulWo1RIbfTjQvTdj8Y6yyq4R7g-Al
Unit 2 https://www.youtube.com/watch?
v=ZHLdVRXIuC8&list=PLS1QulWo1RIbfTjQvTdj8Y6yyq4R7g-Al&index=18
Unit 3 https://www.youtube.com/watch?v=hBh_CC5y8-s
Unit 4 https://www.youtube.com/watch?v=qQVqfvs3p48
Unit 5 https://www.youtube.com/watch?v=2qWPpgALJyw
B. TECH. SECOND YEAR (COMMON TO ALL) 3rd Sem
Course Code L T P Credit
Course Title OBJECT ORIENTED TECHNIQUES 0 0 2 1
LAB USING JAVA
List of Experiments:
Sr. Name of Experiments Q.NO. CO
No.
(Codetantra)
1. Write a simple program in Java. 1 CO1
Write a Java program to display default values of all CO1
2. 2
primitive data types
Write a Java program to understand Command line CO1
3. 3
arguments.
4. Write a Java program to understand if-then-else statement 5 CO1
Write a Java Program to find the Factorial of a given CO1
5. 6
number
Write a Java Program to check whether the given number CO1
6. 7
is Palindrome or not
7. Write a JAVA program to display Fibonacci series. 8 CO1
Write a JAVA program to implement class mechanism. CO2
8. Create a class, methods and invoke them inside main -
method.
Write a Java program to illustrate the abstract class CO2
9. 24
concept
Write a Java program to Access the instance variables by CO2
10. 27
using this keyword
11. Write a Java class to show the concept of static class 26 CO2
Write a Java program to Access the Class members using CO2
12. 20
super Keyword
13. Write a JAVA program to implement Single Inheritance. - CO2
Write a JAVA program to implement multi-level CO2
14. 19
inheritance.
15. Write a Java program to implement Interface 22 CO2
Write a JAVA program to implement constructor and CO2
16. 18
constructor overloading.
Write a JAVA program implement method overloading CO2
17. -
and method overriding.
Write a JAVA program to implement a user defined CO2
18. -
functional interface using lambda expressions.
Write a program prints a multidimensional array of CO2
19.
integers. 9
Write a JAVA program to show the multiplication of two CO2
20.
matrices using arrays. 11
Write a Java program to Search an element using Linear CO2
21.
Search 13
Write a Java program to Search an element using Binary CO2
22.
Search 14
23. Write a Java Program to Sort elements using Insertion Sort CO2
15
Write a Java Program to Sort elements using Selection CO2
24.
Sort - Largest element method 16
25. Write a Java program to Sort elements using Bubble Sort CO2
17
Write a Java program to handle an Arithmetic Exception - CO3
26.
divided by zero 33
Write a program to implement user defined exception in CO3
27.
java. -
28. Write a Java program to illustrate Finally block CO3
34
29. Write a Java program to illustrate Multiple catch blocks CO3
35
30. Write a Java program for creation of illustrating throw CO3
36
To implement the concept of assertions in JAVA CO3
31. -
programming language.
To implement the concept of localization in JAVA CO3
32. -
programming language.
Write a Java program to print the output by appending all CO3
33. 30
the capital letters in the input in a string.
Write a JAVA program to show the usage of string CO3
34. 31
builder.
35. Write a JAVA program to show the usage of string buffer. 32 CO3
Write a JAVA program to implement even and odd thread CO4
36. -
by using Thread class and Runnable interface.
Write a JAVA program to synchronize the threads by CO4
37. -
using Synchronize statements and Synchronize block
To demonstrate the concept of type annotations in JAVA CO4
38. -
programming language.
To demonstrate the concept of user defined annotations in CO5
39. -
JAVA programming language.
Write a JAVA program to implement the concept of CO5
40.
Generic and Collection classes. -
Lab Course Outcome:
CO1 To understand how to design and implement basic data types, command
K2
line arguments and control statements
CO2 To demonstrate the Java programs using OOP principles and also
K3
implement the concepts of lambda expressions and arrays.
CO3 To demonstrate, understand and use of different exceptional handling
K3
mechanisms, assertions, localizations and string handling.
CO4 To solve the real time problems using multithreading and annotations
K3
concept.
CO5 To design and develop collections and generic classes in JAVA
K6
programming language