Object-Oriented Programming Concepts I

UNIT ID :  H7DY 04

Content

Total Hours

1. Fundamentals of Java Programming Language

1.2 Classes Declaration

1.2.1 Class Declarations

1.3 Variable Declarations

1.3.1 Literal Values

1.3.1.2 Integer Literals

1.3.1.3 Floating- Point Literals

1.3.1.4 Boolean Literals

1.3.1.5 Character Literals

1.3.1.6 Literal Values for Strings

1.3.2 Local Variables

1.3.3 Instance Variables

1.3.4 Static Variables

1.4 Method Declarations

1.4.1 Instance Methods

1.4.2 Static Methods

1.5 Legal Return Types

1.5.1 Return Type Declarations

1.5.2 Returning a Value

1.6 Passing Variables into Methods

1.6.1 Passing Object Reference Variables

1.6.2 Does Java Use Pass-By-Value Semantics

1.6.3 Passing Primitive Variables

1.7 Modifiers

1.7.1 Source File declaration Rules

1.7.2 Access Modifiers

1.7.3 Non access Member Modifiers

1.8 Java Code Conventions and standards

45

Content

Total Hours

2. Java Operators

2.1. Assignment Operators

2.2 Relational Operators

2.3 Instanceof Comparison

2.4 Arithmetic Operators

2.5 Conditional Operator

2.6 Logical Operators

10

3. Flow Controls

3.1. If Statements

3.2. Loops and Iterators

3.2.1. While Loops

3.2.2. Do Loops

3.2.3. For Loops

3.2.4. Break and Continue Statements

3.2.5. Label Statements

3.3. Switch Statements Introduction to Exception Handling

10

4. Object-Oriented Programming Concepts

4.1. Inheritance

4.1.1. IS-A

4.1.2. HAS-A

4.1.3. Polymorphism

4.1.4. Abstraction

4.1.5. Association, Aggregation,Composition

4.2. Overriding

4.3. Encapsulation

4.4. Overloading

4.5. Reference Variable Casting

4.6. Constructors

4.6.1. Default Constructor

4.6.2. Overloaded Constructors

4.7. Coupling and Cohesion

4.8. Interfaces and abstract classes

40

Content

Total Hours

5. Primitive Casting, Arrays and Garbage Collection

5.1. Casting Primitives

5.2. Arrays

5.2.1. Declaring an Array

5.2.2. Constructing an Array

5.2.3. Initializing an Array

5.3. Garbage Collection

5.3.1. Overview of Memory Management and Garbage Collection

5.3.2. Overview of Java's Garbage Collector

5.3.3. Writing Code That Explicitly Makes Objects Eligible for Collection

15