You are on page 1of 7

MT 103 Object Oriented Programming Contents

Unit 1 Introduction to Java Unit 2 Java Basics Unit 3 Operators and Control Statements Unit 4 Arrays and Strings Unit 5 Inheritance, Package and Interface Unit 6 Exception Handling Unit 7 Streams in Java Unit 8 Applets Unit 9 Event Handling
Edition: Fall 2011 BKID B1477 2
nd

1 16 29 52 78 105 115 127 143

May 2011

Unit 10 Swing Unit 11 Java Data Base Connectivity Unit 12 RMI, CORBA and Java Beans Unit 13 Networking in Java Unit 14 Java Server Pages and Servlets Acknowledgements, References and Suggested Readings

162 176 187 200 210 221

Dean Directorate of Distance Education Sikkim Manipal University (SMU DDE) Board of Studies Chairman Head IT SMU DDE, Manipal 576104 Additional Registrar SMU DDE Manipal 576104 Addl. Registrar (S.E) Office of the Student Evaluation Manipal 576104 Dr. N.V.S.Subba Reddy Director, Sikkim Manipal Institute of Technology Gangtok, Sikkim Dr. Ramprasad Vardhachar Director, Computer Studies, Dayanand Sagar Institutions, Bangalore. Prof. A Srinivas Director - Research and Consultancy and Professor of Computer Science PES Institute of Technology, Bangalore 560085. Content Preparation Team Content Writing Mr. Balasubramani R. Assistant Professor, Dept. of IT Sikkim Manipal University DDE Manipal. Mr. Arun Chaudhary Lecturer, Dept. of IT, Sikkim Manipal University-DDE Instructional Design Mr. Kulwinder Pal Asst. Professor, Sikkim Manipal University DDE, Manipal Edition : Fall 2011 Printed : May 2011 This book is a distance education module comprising a collection of learning material for our students. All rights reserved. No part of this work may be reproduced in any form by any means without permission in writing from Sikkim Manipal University, Gangtok, Sikkim. Printed and published on behalf of Sikkim Manipal University, Gangtok, Sikkim by Mr. Rajkumar Mascreen, GM, Manipal Universal Learning Pvt. Ltd., Manipal 576 104. Printed at Manipal Press Limited, Manipal. Mr. Nirmal Kumar Nigam Asst. Prof., Dept. of IT SMU-DDE, Manipal Dr. A. Kumaran Research Manager, Multilingual Research , Microsoft(India). Mr. Ashwin krishna Director, Keystone Business Bangalore. Mr. Srinivas Deeduvanu Engineering Manager, Yahoo (India), Bangalore Dr. Rajasekar Image Quality Leader Wipro - GE (India), Bangalore Dr. Ashok Kumar T.K General Manager IBM (India), Bangalore

Content Editing Dr. E. R. Naganathan Professor & HOD IT Sikkim Manipal University DDE Manipal.

Language Editing Ms. Vasantha Raviprakash Lecturer - English M.G.M. College, Udupi

iented Programming (OOP) is a four credit subject in IT Program and is taught to provide concepts of OOP system using Java. This subject focuses primarily on developing applications in Java using object oriented programming features. Java is a programming language similar to that of C++. Java is well suited for designing software that works in conjunction with the Internet. It is a cross platform language, which means its programs can be designed to run the same way on any operating systems like MSWindows, Apple Macintosh, UNIX etc. This Student Learning Material (SLM) on OOP is divided into fourteen units; the brief account of them is given below: Unit 1: Introduction to Java This unit gives an overview of various features of Java along with the security aspect related to it. You will also learn about Java Byte Code, which is platform independent. This unit also explains various tools available in Java Development Kit (JDK) along with various advanced debugging commands and JDK security tools. Briefly you will also know about the security aspects of Java. Unit 2: Java Basics In this unit, you will learn about various Java keywords. Emphasis is given on various data types in Java and variable declaration. Brief introduction is also given for using classes and declaring methods in Java. You will also learn to write, compile, and run a simple Java program. Unit 3: Operators and Control Statements In this Unit, you will learn about various operators and control flow statements in Java. This unit forms the basis for learning programming in Java. Unit 4: Arrays and Strings This unit explains arrays and strings in Java with emphasis on string constructors, special string operations, character extraction, string comparison etc. Special attention is also given to StringBuffer class. Unit 5: Inheritance, Package and Interface In this Unit, you will learn about the advantages of Inheritance and various types of Inheritance. Also you will learn how to group classes into a

package. Brief introduction to interface and abstract classes are also given in this unit. Unit 6: Exception Handling When your program encounters an error, it should not stop working abruptly. This is taken care of by a mechanism called Exception Handling in Java. You will learn how to implement exception handling in Java. Unit 7: Streams in Java In this unit, you will learn about abstract streams and stream classes. Introduction to Random Access Files and Serialization is also discussed in this unit. Unit 8: Applets The power of Java lies in developing Web applications. These Java programs are called applets. This unit gives an overview of life cycle of an applet and various applet methods. Unit 9: Event Handling Event handling is essential to GUI programming. In this unit, you will learn various Event Classes and Adapter Classes. Unit 10: Swing Swings have become popular due to its look and feel in terms of GUI programming. This unit will make you familiar about building Standalone. Swing GUI Applications. Unit 11: Java Data Base Connectivity (JDBC) This unit explains Database Management concepts in Java through a mechanism called Java Data Base Connectivity (JDBC). You will learn how to connect Java programs to popular back end databases. Unit 12: RMI, CORBA and Java Beans This unit explains various advanced topics in Java such as Remote Method Invocation (RMI), Common Object Request Broker Architecture (CORBA) and Java Beans. Unit 13: Networking in Java Networking allows the application to connect to existing network services, provides its own services, and even allow for multiuser, network-aware

games over the Internet. This unit explains various Networking features available in Java through java.net package. Unit 14: Java Server Pages and Servlets Java Server Pages and Servlets are used to write server side programs in Java. This unit discusses various features of JSP and servlets. Objective of studying the subject: After studying this subject, you should be able to develop Object oriented Programming system for industry standard applications using Java. The learner should be able to use its primitive and advanced features like Swing, applets etc. The subject provides knowledge and understanding of skills related to object oriented programming and classes. For various multimedia and other resources on this subject, log on to EduNXT portal or SMU DDE at http://edunxt.smude.edu.in

You might also like