JNTUH Object Oriented Programming through Java syllabus EC 3-2 Sem R18 EC611PE

Unit-1 Object Oriented Thinking and Java Basics

Object Oriented Thinking and Java Basics:

Need for OOP Paradigm, Summary of OOP Concepts, Coping with Complexity, Abstraction Mechanisms, A Way of Viewing World – Agents, Responsibility, Messages, Methods, History of Java, Java Buzzwords, Data Types, Variables, Scope and Life Time of Variables, Arrays, Operators, Expressions, Control Statements, Type Conversion and Casting, Simple Java Program, Concepts of Classes, Objects, Constructors, Methods, Access Control, This Keyword, Garbage Collection, Overloading Methods and Constructors, Method Binding, Inheritance, Overriding and Exceptions, Parameter Passing, Recursion, Nested and Inner Classes, Exploring String Class.

Unit-2 Inheritance, Packages and Interfaces

Inheritance, Packages and Interfaces:

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- Method Overriding, Abstract Classes, The Object Class.

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, Exploring Java.IO. UNIT -

Unit-3 Exception Handling and Multithreading

Exception Handling and Multithreading:

Concepts of Exception Handling, Benefits of Exception Handling, Termination or Resumptive Models, Exception Hierarchy, Usage of Try, Catch, Throw, Throws and Finally, Built in Exceptions, Creating Own Exception Sub Classes.

String Handling, Exploring Java.Util, Differences between Multi-Threading and Multitasking, Thread Life Cycle, Creating Threads, Thread Priorities, Synchronizing Threads, Interthread Communication, Thread Groups, Daemon Threads.

Enumerations, Autoboxing, Annotations, Generics.

Unit-4 Event Handling

Event Handling:

Events, Event Sources, Event Classes, Event Listeners, Delegation Event Model, Handling Mouse and Keyboard Events, Adapter Classes.

The AWT Class Hierarchy, User Interface Components- Labels, Button, Canvas, Scrollbars, Text Components, Check Box, Check Box Groups, Choices, Lists Panels – Scrollpane, Dialogs, Menubar, Graphics, Layout Manager – Layout Manager Types – Border, Grid, Flow, Card and Grid Bag.

Unit-5 Applets

Applets:

Concepts f Applets, Differences between Applets and Applications, Life Cycle of an Applet, Types of Applets, Creating Applets, Passing Parameters to Applets.

Swing:

Introduction, Limitations of AWT, MVC Architecture, Components, Containers, Exploring Swing- Japplet, 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.

 

TEXT BOOKS:

1. Java the Complete Reference, 7th Edition, Herbert Schildt, TMH.

2. Understanding OOP with Java Updated Edition, T. Budd, Pearson Education.

 

REFERENCES:

1. An Introduction to Programming and OO Design using Java, J. Nino and F.A. Hosch, John Wiley & Sons.

2. An Introduction to OOP, Third Edition, T. Budd, Pearson Education.

3. Introduction to Java Programming, Y. Daniel Liang, Pearson Education.

4. An Introduction to Java Programming and Object-Oriented Application Development, R.A. Johnson- Thomson.

5. Core Java 2, Vol 1, Fundamentals, Cay. S. Horstmann and Gary Cornell, Eighth Edition, Pearson Education.

6. Core Java 2, Vol 2, Advanced Features, Cay. S. Horstmann and Gary Cornell, eighth Edition, Pearson Education

 

Course Outcomes:

1. Develop Applications for Range of Problems Using Object-Oriented Programming Techniques

2. Design Simple Graphical User Interface Applications.