19CT1108

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Information Technology VII / VIII-Semester

OBJECT ORIENTED PROGRAMMING THROUGH JAVA


(OPEN ELECTIVE For Non-CSE/IT)

Course Code: 19CT1108 L T P C


3 0 0 3
Pre-Requisites: Problem Solving Using C, Data Structures and Algorithms

Course Outcomes: At the end of the Course the student shall be able to
CO1: Interpret object orientation and Utilize programming strategies and Contrast classes and
objects.
CO2: Analyze Inheritance and Dynamic Method Dispatch.
CO3: Design Packages and Interpret various classes in different packages.
CO4: Manage Exceptions and Apply Threads.
CO5: Create GUI screens along with event handling and write network programs.

UNIT-I 12 Lectures
Introduction to Objects & Classes
What is Object Oriented Programming? Object Orientation as a New Paradigm: The Big Picture
(TEXT BOOK-2), An Overview of Java: Process Oriented Vs Object Oriented Programming, OOP
Principles, Java BuzzWords, The Byte Code, A First Simple Program
Class Fundamentals with Variables and Methods, Declaring objects for accessing variables and
methods.
Data Types and Variables, Operators and Expressions, Control Statements, Type Conversion and
casting, Lexical Issues in Java, Arrays: Single Dimension, command line arguments, Arrays: Multi
Dimension.
Constructors: Default and Parameterized, this keyword and Garbage Collection, Final and Static
Keywords, Overloading Methods, Overloading Constructors, Using objects as Parameters,
Returning objects, String and String Buffer.

Learning Outcomes: At the end of the module, students will be able to


1. Summarize object-oriented programming features and Java features. (L2)
2. Explain classes, objects. (L3)
3. Use various data types and control statements in Java. (L2)
4. Explain about constructors and methods. (L3)
5. Write Java programs for manipulating Strings. (L6)

UNIT-II 8 Lectures
Inheritance
Inheritance Basics, Types of Inheritance, Using Super keyword for constructors, Super to call
variables and methods, Method Overriding, Dynamic Method Dispatch

Learning Outcomes: At the end of the module, students will be able to


1. Classify different kinds of inheritance. (L4)
2. Summarize the usage of super keyword in inheritance. (L2)
3. Explain Method overriding and dynamic method dispatch (L3)

245 2019
Information Technology VII / VIII-Semester

UNIT-III 11 Lectures
Packages and Interfaces
Defining a Package, importing a package, Package Example, Access Protection, An Access
Example, Abstract classes, Interfaces: Defining and Implementing Interfaces
Exploring java.lang: Wrapper classes, Object, Math, Runtime
Exploring java.util: The collection framework: ArrayList, HashSet and HashMap,
StringTokenizer, Calendar, Random, Scanner
Exploring java.io: File class, Byte Streams, Character Streams, FileInputStream,
FileOutputStream, FileReader and FileWriter classes

Learning Outcomes: At the end of the module, students will be able to


1. Demonstrate the use of packages in Java. (L2)
2. Identify various built-in Java classes. (L2)
3. Apply various methods of Java built-in classes. (L3)

UNIT-IV 10 Lectures
Exception Handling: Exception Handling Fundamentals, Exception Types, throw, throws and
finally, Creating your own exceptions, Chained Exceptions.
Multithreaded Programming: Java Thread Model, The Main thread, Two ways of Creating a
Thread, Creating Multiple Threads, isAlive(),join(), Synchronization, Inter Thread Communication

Learning Outcomes: At the end of the module, students will be able to


1. Distinguish between error and exception. (L4)
2. Illustrate exception handling in Java. (L3)
3. Write Java multi-threaded programs. (L6)

UNIT-V 9 Lectures
Introducing GUI Programming with Swings
Swing Features, MVC Connection, Components and Containers, Panes, Simple Swing Application,
Simple Swing Applet, Layout Managers: Flow, Border, Card, Grid, Grid Bag, Working with Color,
Working with Fonts, Painting in Swing, Exploring Swing Components
Delegation Event Model: Event Classes, Sources and Listeners.
Exploring java.net: Socket, ServerSocket, InetAddress, DataGramSocket, URL, Client-Server
Program using Sockets.

Learning Outcomes: At the end of the module, students will be able to


1. Use swings to build GUI based applications (L3)
2. Design event driven based GUI applications. (L6)
3. Write network based Java applications (L6).

Text Books:
1. Herbert Schildt, Java The complete reference, 11th Edition, McGrawHill, 2019
2. Timothy budd, An introduction to object-oriented programming, 3rd Edition, Pearson Education,
2009.

Reference:
Y. Daniel Liang Introduction to Java Programming Comprehensive Version, 10th Edition, Pearson,
2015.

246 2019

You might also like