JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
II Year B.Tech. MME - I Sem L T/P/D C
4 -/-/- 4
OBJECT ORIENTED PROGRAMMING THROUGH JAVA
Learning Objectives:
- To understand object oriented programming concepts, and apply them in problem solving
- To learn the basics of java Console and GUI based programming
UNIT - I:
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 - II:
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 - III:
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 - IV:
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 - V:
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:
- Java the Complete Reference, 7th Editon, Herbert Schildt, TMH.
- Understanding OOP with Java Updated Edition, T. Budd, Pearson Education.
REFERENCE BOOKS:
- An Introduction to Programming and OO Design using Java, J.Nino and F.A. Hosch, John wiley & Sons.
- An Introduction to OOP, Third Edition, T. Budd, Pearson Education.
- Introduction to Java Programming, Y. Daniel Liang, Pearson Education.
- An Introduction to Java Programming and Object Oriented Application Development, R.A. Johnson-Thomson.
- Core Java 2, Vol 1, Fundamentals, Cay.S.Horstmann and Gary Cornell, Eighth Edition, Pearson Education.
- Core Java 2, Vol 2, Advanced Features, Cay.S.Horstmann and Gary Cornell, eighth Edition, Pearson Education
Expected Outcome:
The student is expected to have
- Understanding of OOP concepts and basics of java programming (Console and GUI based)
- The skills to apply OOP and Java programming in problem solving
- Should have the ability to extend his knowledge of Java programming further on his/her own.
-
CreatedAug 05, 2016
-
UpdatedAug 05, 2016
-
Views4,201