OBJECT ORIENTED PROGRAMMING USING JAVA

Object Oriented Programming with Java

I Year – II Semester

UNIT–I

Basics of Object Oriented Programming (OOP):Need for OO paradigm , A way of viewing world- Agents, responsibility, messages, methods, classes and instances, class hierarchies (Inheritance), method binding, overriding and exceptions, summary of OOP concepts, coping with complexity, abstraction mechanisms. Java Basics: Data types, variables, scope and lifetime of variables, arrays, operators, expressions, control statements, type conversion and costing, simple java program, classes and objects- concepts of classes, objects, constructors methods, access control, this keyword, garbage collection, overloading methods and constructors, parameter passing, recursion, string handling.

Download Unit I

UNIT–II

Inheritance: Hierarchical abstractions, Base class object, subclass, subtype, substitutability, forms of inheritance- specialization, specification, construction, extension, limitation, combination, benefits of inheritance costs of inheritance. Member access rules, super uses, using final with inheritance, polymorphism, abstract classes.Packages and Interfaces: Defining, Creating and Accessing a package, Understanding CLASSPATH, Importing packages, differences between classes and interfaces, defining an interface, Implementing interface, applying interfaces variables in interface and extending interfaces.

Download Unit II

UNIT–III

Exception handling and Multithreading: Concepts of exception handling, benefits of exception handling, Termination or resumptive models, exception hierarchy, usage of try, catch, throws and finally, built in exceptions, creating own exception subclasses. Differences between multithreading and multitasking, thread lifecycle, creating threads, synchronizing threads, daemon threads, thread groups.

Download Unit III

UNIT–IV

Event Handling: Events, Event sources, Event classes, Event Listeners, Delegation event model, handling mouse and keyboard events, Adapter classes, inner classes. The AWT class hierarchy, user-interface components- labels, button, canvas, scrollbars, text components, check box, checkbox groups, choices, list panes, scroll pane, dialogs, menu bar, graphics, layout manager, layout manager types- boarder, grid, flow, card and grid bag.

Download Unit IV

UNIT-V

Swings: Introduction, limitations of AWT, MVC architecture, components, containers, exploring swing- JFrame and JComponent, Icons and Labels, text fields, buttons-The JButton class, Check boxes, Radio Buttons, Combo boxes, Tabbed panes, Scroll panes, Trees and Tables

Download Unit V

Text Books & Reference Books

Text Books: 1. Java-The Complete Reference,7/e, Herbert schildt, TMH Reference Books: 1. JAVA: How to program,8/e, Dietal, Dietal, PHI 2. Introduction of programming with JAVA, S.Dean, TMH 3. Introduction to JAVA programming, 6/e, Y.Daniel Liang, Pearson 4. Core Java2, Vol1(Vol2) Fundamentals (Advanced),7/e, Cay.S.Horstmann, Gary Cornell, Pearson 5. Big Java 2,3/e, Cay.S.Horstmann,Wiley 6. Object Oriented Programming through Java, P.Radha Krishna, University Press

Download Books List

No comments

OBJECT ORIENTED PROGRAMMING USING JAVA LAB

Java Programming Lab Experiments VR-23 2025-26 Java Programming Lab Experiments Experiment 1: Fibonacci Sequence The F...