DC12         Object-Oriented Programming THROUGH JAVA

 

1.                  Basics of Object-Oriented Programming and  Java                                      3 hours

 

1.1               Object-oriented Programming: Two Paradigms, Abstraction, The three OO Principles

1.2               Bytecode, Java Applets, Security, Portability

1.3               Java applets and applications, Security, Portability,

1.4               Using blocks of code

1.5               Lexical issues

1.6               The Java Class Libraries

 

I [1, 2]

 

2.                  The Data Types, Variables and Arrays                                                          6 hours

 

2.1               The Simple types : Intergers, Floating-Point, Characters, Boolens

2.2               Literals

2.3               Variables : Declaration, Initialization, Scope, Lifetime

2.4               Type Conversion and Casting

2.5               Type Promotion : Rules

2.6               Arrays : One-Dimensional and Multidimensional

 

I [3]

 

3.                  Operators                                                                                                       3 hours

 

3.1               Arithmetic operators

3.2               The Bitwise operators

3.3               Relational operators

3.4               Boolean logical operators

3.5               The assignment operator

3.6               The ? operator

3.7               Operator precedence.

 

I [4]

 

4.                  Control Statements                                                                                        6 hours

 

4.1               JAVA’s selection statements :  If, Switch

4.2               Interaction statements :  While, Do-While, For, Some for loop variations, Nested loops

4.3               Jump statements : break, using continue, return

 

I [5]

 

5.                  Introducing Classes                                                                                       9 hours

 

5.1               Class fundamentals,

5.2               Declaring objects,

5.3               Assigning object reference variables,

5.4               Introducing methods,

5.5               Constructors,

5.6               The this keyword

5.7               garbage collection

5.8               The finalize( ) method :A stack class.

 

I [6]

 

6.                  A Closer Look at Methods and Classes                                                       9 hours                       

 

6.1               Overloading methods: Overloading constructors, Using objects as parameters, Argument passing, Returning objects

6.2               Recursion

6.3               Access control

6.4               Static, final

 

I [7]

 

7.                  Inheritance                                                                                                     9 hours

 

7.1               Inheritance basics: Member access and inheritance, Using super, Constructors

7.2               Multilevel hierarchy

7.3               Method overriding: dynamic method dispatch, Using final to prevent overriding and inheritance

7.4               Abstract classes

7.5               Object class.

 

I [8]

 

8.                  Package and Interfaces                                                                                  6 hours

 

8.1               Packages: Definition and CLASSPATH, Importing

8.2               Access protection

8.3               Interfaces: defining, implementing, applying, extending.

I [9]

 

9.                  Exception Handling                                                                                        3 hours

 

9.1               Exception handling fundamentals: Exception types, Uncaught exceptions, Using try and catch

9.2               Throws

9.3               JAVA’s built-in exceptions.

 

I [10]

 

10.              Input/Output                                                                                                   6 hours

 

10.1            I/O basics : Byte, character and predefined Streams

10.2            Console : Input, Output

10.3            PrinterWriter Class

10.4            File I/O : Reading and Writing

 
I [12]

 

 

Text Book

 

I.                   Patrick Naughton & H Schildt, “The Complete Reference JAVA”, Tata MacGraw Hill, Third Edition