Download OOP Concepts and Introduction to JAVA

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
MEHRAN UNIVERSITY OF ENGINEERING &TECHNOLOGY, JAMSHORO
DEPARTMENT OF COMPUTER SYSTEMS ENGINERING
Title of Subject
Object Oriented Paradigm
Disciplines
CS
Pre-requisites
Computer Programming
Term
First Term Second Year
Assessment
20% Sessional Marks, 80% Written Examination.
Effective
09-Batch and onwards
Marks
100 + 50
Credit Hours
4+2
Minimum Contact Hours 52+26
Learning a useful object-relation language as a front-end tool
Aims:
After completing this course, students should be able to:
Objectives:
 understand Object Oriented Programming (OOP) concepts like encapsulation,
inheritance, polymorphism etc.
 implement OOP concepts in JAVA
 write simple programs in JAVA
OOP Concepts and Introduction to JAVA: Objects, Classes, Messages, OOP principles,
Contents:
Encapsulation, Inheritance, Polymorphism, What is Java, History of Java, Features of Java,
Class library, Java Environment, Bytecode, JVM, Java Applications & Applets
Fundamentals of JAVA Programming: Comments, White Spaces, Identifiers, Separators,
Keywords, Reserved Words, Variables, Data Types, Operators, Mathematical Functions and
Constants, Expressions, Escape Sequences, Type Conversion and Casting
JAVA Control Statements: Java Selection Statements (if, if-else, switch), Loop Statements
(while, do-while, for), Nested Loops, break and continue Statements
Arrays and Strings: Array Variables, Defining Arrays, Accessing Array Elements,
Initializing Arrays, Array Length, Multidimensional Arrays, Array of Characters, Strings
and Common Operations on Strings
Introducing Classes: General Form of a Class, Declaring Variables Class, Defining
Methods, Declaring Objects, Returning a Value, Parameter List, Constructors, Parameterized
Constructors, this Keyword, Method Overloading, Types of Arguments, Objects as
Parameters, Returning Objects, Access Specifiers, Understanding static, Nested and Inner
Classes, finalize Method
Inheritance: Inheritance Basics, Member Access and Inheritance, Using Super, Multilevel
Hierarchy, Method Overriding, Dynamic Method Dispatch, Abstract Classes
Packages and Interfaces: Understanding Packages, Defining a Package, Packages and
Directory Structure, Understanding CLASSPATH, Standard Packages, Importing Packages,
Interfaces, Implementing Interfaces, Extending Interfaces, Multiple Interfaces
Exception Handling: Exception Handling Basics, Exception Types, Uncaught Exceptions,
Using try and catch, Multiple Catch Clauses, Nested Try Statements, throw statement,
throws clause, finally Block, Some Useful Exception of Java Class Library
Multithreading: Understanding and Creating Threads, Thread Life Cycle, Managing
Threads (Synchronization and Deadlocks), Thread Priorities
Introduction to Applets: How to Write Applets, HTML Code for Applets, appletviewer,
paint() Method, drawstring, JOptionPane, Applet Life Cycle
Introducing the AWT and JAVA GUI: AWT Classes, Windows Fundamentals, Graphics
Context, Color and Font Controls, Drawing Lines, Rectangles, Ovals etc, Labels, Buttons,
TextFields, CheckBoxes etc, Event Handling, Layout Managers, Menu Bars, Dialog Boxes
Images, Sound and Animation: Displaying Images, Image Observers, Media Tracker,
Double Buffering, Playing Sound Clips, Sound API
Note:
Practical will be based on theory.
Books Recommended:
1. Deitel H. M., Deitel P.J., “Java How To Program”, 8th Edition (2009) or Latest, Pearson.
2. Horton I., “Beginning Java 2”, 5th Edition (2004) or Latest, Wiley.
3. Naughton P.,
Schildt H., “Java 2 : The Complete Reference”, 3rd Edition or
Latest, McGrawHill
4. Budd T.; Understanding object oriented programming with java”, Edition 2000 or latest,
Addison-Wesley.
Approval:
Board of Studies
Board of Faculty of EEC Engg:
Academic Council
Resolution No. 04.02
Resolution No. 05.03
Resolution No. 73.12
Dated 17.10.2009
Dated 18.12.2009
Dated 23.12.2009