KEMBAR78
object oriented programming systems OOPS | PPTX
Semester EEE
III Semester EEE- Object Oriented Programming
L T P C
3 0 2 4
Prerequisite: Basic C Programming
Course Objectives
The purpose of learning this course is :
• To understand Object Oriented Programming concepts and basic characteristics of Java.
• To know the principles of packages, inheritance and interfaces.
• To define exceptions and use I/O streams.
• To develop a java application with threads and generics classes.
• To design and build simple Graphical User Interfaces.
Object Oriented Programming
Unit I INTRODUCTION TO OOPAND JAVA FUNDAMENTALS 9 Hours
Object Oriented Programming concepts– objects and classes – Encapsulation - Inheritance - Abstraction - Polymorphism –
Characteristics of Java – Fundamental Programming Structures in Java: Data Types, Variables, Operators, Control Flow,
Arrays - OOP in Java - Defining classes in Java – constructors, methods - access specifiers - static members – Comments -
Packages
Unit II INHERITANCE AND INTERFACES 9 Hours
Inheritance – Super classes - sub classes – Protected members – constructors in sub classes- the Object class – abstract classes
and methods- final methods and classes – Interfaces – defining an interface, implementing interface, differences between
classes and interfaces and extending interfaces - inner classes – Strings Handling: String and StringBuffer.
Unit III EXCEPTION HANDLING AND I/O 9 Hours
Exceptions - exception hierarchy - throwing and catching exceptions – built-in exceptions, creating own exceptions, Stack
Trace Elements. Input / Output Basics – Streams – Byte streams and Character streams – Reading and Writing Console –
Reading and Writing Files.
Unit IV MULTITHREADING AND GENERIC PROGRAMMING 9 Hours
Understanding Threads, Thread life cycle - Thread Priorities, Synchronizing Threads, , Inter-thread communication. Generic
Programming – Generic classes – generic methods – Bounded Types – Restrictions and Limitations.
Unit V EVENT DRIVEN PROGRAMMING AND JDBC 9 Hours
Graphics programming - Frame – Basics of event handling - event handlers - adapter classes - actions - mouse events -
Introduction to Swing –Swing Components– Text Fields, Text Areas – Buttons- Check Boxes – Radio Buttons – Lists- choices-
Scrollbars – Windows –Menus – Dialog Boxes. Introduction to JDBC, JDBC Drivers and Architecture, Accessing Database
with JDBC.
Object Oriented Programming
Course Outcomes:
At the end of the course, learners will be able to:
CO1: Develop Java programs using OOP principles
CO2: Develop Java programs with the concepts of inheritance and interfaces
CO3: Build Java applications using exceptions and I/O streams
CO4: Design problems solutions using Generic Collections and Exception Handling
CO5: Create a Database connectivity and manipulate database using JDBC
CO6: Develop interactive Java programs using swings
TEXT BOOKS:
1. Herbert Schildt, ―Java The complete reference, 13th Edition, McGraw Hill Education, 2024.
2. Cay S. Horstmann ―Core Java Volume –I Fundamentals, 11th Edition, Pearson, 2020.
REFERENCES:
1. Allen B.Downey & Chris Mayfield-Think Java, 2nd Edition, Oreilly, 2023.
2. MarcLoy,Patrick Niemeyer & Daniel Leuck Learning Java: An Introduction To Real-world Programming With Java, Sixth
Edition Grayscale Indian Edition, 6th edition , Oreilly.
3. Kathy sierra, Bert Bates & Trisha Gee, - Head First Java: A Brain-Friendly Guide Third edition, Shroff Publishers ,June 2022.
Object Oriented Programming
List of Experiments
1. Develop a java application using classes & objects
2. Develop a java application using packages.
3. Develop a java application using Inheritance.
4. Design a Java interface for ADT Stack. Provide necessary exception handling.
5. Write a program to perform string operations using Array List. Write functions for the following
a. Append - add at end b. Insert – add at particular index c. Search d. List all string starts with given
letter.
6. Write a Java Program to create an abstract class named and demonstrate polymorphism.
7. Write a Java program to implement user defined exception handling.
8. Write a Java program that reads a file name from the user, displays information about whether the file exists, whether
the file is readable, or writable, the type of file and the length of the file in bytes.
9. Write a java program that implements multi-threading.
10. Develop applications to demonstrate the features of generics classes.
11. Develop applications using layouts and menus.
12. Develop a simple student database management system using event-driven and concurrent programming paradigms of
Java. Use JDBC to connect a back-end database.

object oriented programming systems OOPS

  • 1.
    Semester EEE III SemesterEEE- Object Oriented Programming L T P C 3 0 2 4 Prerequisite: Basic C Programming Course Objectives The purpose of learning this course is : • To understand Object Oriented Programming concepts and basic characteristics of Java. • To know the principles of packages, inheritance and interfaces. • To define exceptions and use I/O streams. • To develop a java application with threads and generics classes. • To design and build simple Graphical User Interfaces.
  • 2.
    Object Oriented Programming UnitI INTRODUCTION TO OOPAND JAVA FUNDAMENTALS 9 Hours Object Oriented Programming concepts– objects and classes – Encapsulation - Inheritance - Abstraction - Polymorphism – Characteristics of Java – Fundamental Programming Structures in Java: Data Types, Variables, Operators, Control Flow, Arrays - OOP in Java - Defining classes in Java – constructors, methods - access specifiers - static members – Comments - Packages Unit II INHERITANCE AND INTERFACES 9 Hours Inheritance – Super classes - sub classes – Protected members – constructors in sub classes- the Object class – abstract classes and methods- final methods and classes – Interfaces – defining an interface, implementing interface, differences between classes and interfaces and extending interfaces - inner classes – Strings Handling: String and StringBuffer. Unit III EXCEPTION HANDLING AND I/O 9 Hours Exceptions - exception hierarchy - throwing and catching exceptions – built-in exceptions, creating own exceptions, Stack Trace Elements. Input / Output Basics – Streams – Byte streams and Character streams – Reading and Writing Console – Reading and Writing Files. Unit IV MULTITHREADING AND GENERIC PROGRAMMING 9 Hours Understanding Threads, Thread life cycle - Thread Priorities, Synchronizing Threads, , Inter-thread communication. Generic Programming – Generic classes – generic methods – Bounded Types – Restrictions and Limitations. Unit V EVENT DRIVEN PROGRAMMING AND JDBC 9 Hours Graphics programming - Frame – Basics of event handling - event handlers - adapter classes - actions - mouse events - Introduction to Swing –Swing Components– Text Fields, Text Areas – Buttons- Check Boxes – Radio Buttons – Lists- choices- Scrollbars – Windows –Menus – Dialog Boxes. Introduction to JDBC, JDBC Drivers and Architecture, Accessing Database with JDBC.
  • 3.
    Object Oriented Programming CourseOutcomes: At the end of the course, learners will be able to: CO1: Develop Java programs using OOP principles CO2: Develop Java programs with the concepts of inheritance and interfaces CO3: Build Java applications using exceptions and I/O streams CO4: Design problems solutions using Generic Collections and Exception Handling CO5: Create a Database connectivity and manipulate database using JDBC CO6: Develop interactive Java programs using swings TEXT BOOKS: 1. Herbert Schildt, ―Java The complete reference, 13th Edition, McGraw Hill Education, 2024. 2. Cay S. Horstmann ―Core Java Volume –I Fundamentals, 11th Edition, Pearson, 2020. REFERENCES: 1. Allen B.Downey & Chris Mayfield-Think Java, 2nd Edition, Oreilly, 2023. 2. MarcLoy,Patrick Niemeyer & Daniel Leuck Learning Java: An Introduction To Real-world Programming With Java, Sixth Edition Grayscale Indian Edition, 6th edition , Oreilly. 3. Kathy sierra, Bert Bates & Trisha Gee, - Head First Java: A Brain-Friendly Guide Third edition, Shroff Publishers ,June 2022.
  • 4.
    Object Oriented Programming Listof Experiments 1. Develop a java application using classes & objects 2. Develop a java application using packages. 3. Develop a java application using Inheritance. 4. Design a Java interface for ADT Stack. Provide necessary exception handling. 5. Write a program to perform string operations using Array List. Write functions for the following a. Append - add at end b. Insert – add at particular index c. Search d. List all string starts with given letter. 6. Write a Java Program to create an abstract class named and demonstrate polymorphism. 7. Write a Java program to implement user defined exception handling. 8. Write a Java program that reads a file name from the user, displays information about whether the file exists, whether the file is readable, or writable, the type of file and the length of the file in bytes. 9. Write a java program that implements multi-threading. 10. Develop applications to demonstrate the features of generics classes. 11. Develop applications using layouts and menus. 12. Develop a simple student database management system using event-driven and concurrent programming paradigms of Java. Use JDBC to connect a back-end database.