Object Oriented Programming in Java syllabus
ITM 1529 units · 235 topicsAcademic year 2083/84
Browse the units
1Introduction to Java (5 LHs)
- 1.1
The Creation of Java- 1.1.1
The Creation of Java
- 1.2
Java's lineage and its influence on modern programming- 1.2.1
Java's lineage and its influence on modern programming
- 1.3
Java's impact on the Internet- 1.3.1
Java's impact on the Internet
- 1.4
Java Buzzwords- 1.4.1
Java Buzzwords (Simple, Object-Oriented, Robust, Multithreaded, Architecture Neutral, Interpreted, High Performance, Distributed, Dynamic)
- 1.4.2
Simple
- 1.4.3
Object-oriented
- 1.4.4
Robust
- 1.4.5
Multithreaded
- 1.4.6
Architecture neutral
- 1.4.7
Interpreted
- 1.4.8
High performance
- 1.4.9
Distributed
- 1.4.10
Dynamic
- 1.5
Java Virtual Machine- 1.5.1
Java Virtual Machine (JVM), Java Runtime Environment (JRE), and Java Development Kit (JDK) architecture and roles
- 1.5.2
The Bytecode
- 1.5.3
Java Virtual Machine (JVM)
- 1.5.4
Java Runtime Environment (JRE)
- 1.5.5
Java Development Kit (JDK)
- 1.5.6
Java bytecode
- 1.6
Compilation model vs. interpretation model- 1.6.1
compilation model vs. interpretation model
- 1.7
Platform independence- 1.7.1
Platform independence
- 1.8
Writing, Compiling, and Running Simple Java Programs using Command Line and IDE- 1.8.1
Writing, Compiling, and Running Simple Java Programs using Command Line and IDE
- 1.9
Object-Oriented Programming Paradigm- 1.9.1
Object-Oriented Programming Paradigm: Overview of OOP principles (Encapsulation, Inheritance, Polymorphism, Abstraction)
- 1.9.2
Encapsulation
- 1.9.3
Inheritance
- 1.9.4
Polymorphism
- 1.9.5
Abstraction
- 1.10
Using Command Line Arguments- 1.10.1
Using Command Line Arguments
- 1.11
Reading Input with Scanner- 1.11.1
Reading Input with Scanner
- 1.12
Writing Output with System.out- 1.12.1
Writing Output with System.out
2Fundamental Programming Structures (6 LHs)
- 2.1
Writing Comments- 2.1.1
Writing Comments
- 2.2
Primitive Data Types (byte, short, int, long, float, double, char, boolean)- 2.2.1
Primitive Data Types (byte, short, int, long, float, double, char, boolean)
- 2.2.2
byte
- 2.2.3
short
- 2.2.4
int
- 2.2.5
long
- 2.2.6
float
- 2.2.7
double
- 2.2.8
char
- 2.2.9
boolean
- 2.3
Variables and Constants- 2.3.1
Variables and Constants
- 2.4
Type Conversion and Casting- 2.4.1
Type Conversion and Casting
- 2.5
Automatic Type Promotion Rules- 2.5.1
Automatic Type Promotion Rules
- 2.6
Operators- 2.6.1
Operators: Arithmetic, Bitwise, Relational, Logical (short-circuit), Assignment, Conditional (?:), sizeof equivalent
- 2.6.2
Arithmetic operators
- 2.6.3
Bitwise operators
- 2.6.4
Relational operators
- 2.6.5
Short-circuit logical operators
- 2.6.6
Assignment operators
- 2.6.7
Conditional operator
- 2.7
Operator Precedence and Associativity- 2.7.1
Operator Precedence and Associativity
- 2.7.2
Using Parentheses
- 2.8
Control Statements- 2.8.1
Control Statements: if, if else, nested if else, else if ladder, switch
- 2.8.2
if
- 2.8.3
if-else
- 2.8.4
nested if-else
- 2.8.5
else-if ladder
- 2.8.6
switch
- 2.9
Iteration Statements- 2.9.1
Iteration Statements: while, do while, for, enhanced for each loop, nested loops
- 2.9.2
while
- 2.9.3
do-while
- 2.9.4
for
- 2.9.5
enhanced for-each
- 2.9.6
nested loops
- 2.10
Jump Statements- 2.10.1
Jump Statements: break, continue, return
- 2.10.2
break
- 2.10.3
continue
- 2.10.4
return
- 2.11
Working with Big Numbers (BigInteger, BigDecimal overview)- 2.11.1
Working with Big Numbers (BigInteger, BigDecimal overview)
- 2.11.2
BigInteger
- 2.11.3
BigDecimal
- 2.12
Declaration, Initialization, and Processing of One Dimensional and Multidimensional Arrya- 2.12.1
Declaration, Initialization, and Processing of One Dimensional and Multidimensional Arrya
- 2.12.2
One-dimensional arrays
- 2.12.3
Multidimensional arrays
- 2.13
Passing Arrays to Methods- 2.13.1
Passing Arrays to Methods.
3Classes and Objects (8 LHs)
- 3.1
Object Oriented Principles- 3.1.1
Object Oriented Principles: Encapsulation, Abstraction, Inheritance, Polymorphism
- 3.1.2
Encapsulation
- 3.1.3
Abstraction
- 3.1.4
Inheritance
- 3.1.5
Polymorphism
- 3.2
Defining Classes- 3.2.1
Defining Classes: fields, methods, and the general form of a class
- 3.2.2
Fields
- 3.2.3
Methods
- 3.2.4
General class form
- 3.3
Creating Objects and Accessing Class Members- 3.3.1
Creating Objects and Accessing Class Members
- 3.4
Assigning Object Reference Variables- 3.4.1
Assigning Object Reference Variables
- 3.5
Methods- 3.5.1
Methods: Adding Methods, Returning Values, Method Parameters and Return Types
- 3.5.2
Method return values
- 3.5.3
Method parameters
- 3.5.4
Method return types
- 3.5.5
Method overloading
- 3.6
Constructors- 3.6.1
Constructors: Default and Parameterized
- 3.6.2
Default constructors
- 3.6.3
Parameterized constructors
- 3.7
Constructor Overloading- 3.7.1
Constructor Overloading
- 3.7.2
the this Keyword
- 3.8
Variable Length Arguments- 3.8.1
Variable Length Arguments
- 3.9
Access Control- 3.9.1
Access Control: public, private, protected, default
- 3.9.2
public
- 3.9.3
private
- 3.9.4
protected
- 3.9.5
package-private default
- 3.10
JavaBeans convention- 3.10.1
JavaBeans convention
- 3.11
Static Fields and Methods- 3.11.1
static Fields and Methods
- 3.12
Final Variables, Methods, and Classes- 3.12.1
final Variables, Methods, and Classes
- 3.12.2
The Object Class
- 3.12.3
final variables
- 3.12.4
final methods
- 3.12.5
final classes
- 3.13
Nested and Inner Classes- 3.13.1
Nested and Inner Classes: static nested, inner, local, and anonymous classes
- 3.13.2
Static nested classes
- 3.13.3
Inner classes
- 3.13.4
Local classes
- 3.13.5
Anonymous classes
- 3.14
Garbage Collection and Finalization- 3.14.1
Garbage Collection and Finalization
- 3.14.2
Garbage collection
- 3.14.3
Finalization
- 3.14.4
Object lifecycle
- 3.15
Creating and Using Packages- 3.15.1
Creating and Using Packages
- 3.15.2
CLASSPATH.
- 3.15.3
Packages
- 3.15.4
import statements
- 3.15.5
CLASSPATH
4Inheritance and Interfaces (7 LHs)
- 4.1
Inheritance Basics- 4.1.1
Inheritance Basics: extends keyword, member access, IS-A relationship
- 4.1.2
extends keyword
- 4.1.3
Member access in inheritance
- 4.1.4
IS-A relationship
- 4.1.5
Inheritance types
- 4.2
Using super- 4.2.1
Using super: calling superclass constructors and overridden methods
- 4.2.2
Calling superclass constructors
- 4.2.3
Calling overridden superclass methods
- 4.3
Method Overriding- 4.3.1
Method Overriding: rules, @Override annotation, covariant return types
- 4.3.2
Overriding rules
- 4.3.3
@Override annotation
- 4.3.4
Covariant return types
- 4.4
Dynamic Method Dispatch- 4.4.1
Dynamic Method Dispatch: runtime polymorphism
- 4.5
Why overridden methods matter- 4.5.1
why overridden methods matter
- 4.6
Abstract Classes- 4.6.1
Abstract Classes: abstract methods and the template method concept
- 4.6.2
inheritance types
- 4.6.3
Abstract methods
- 4.6.4
Template method concept
- 4.7
Using final with Inheritance(preventing overriding and subclassing)- 4.7.1
Using final with Inheritance(preventing overriding and subclassing)
- 4.8
Interfaces- 4.8.1
Interfaces: defining, implementing, and extending interfaces
- 4.8.2
Defining interfaces
- 4.8.3
Implementing interfaces
- 4.8.4
Extending interfaces
- 4.9
Default and Static Methods in Interfaces (Java 8+)- 4.9.1
Default and Static Methods in Interfaces (Java 8+)
- 4.10
Multiple interface inheritance- 4.10.1
multiple interface inheritance
- 4.11
Functional Interfaces and the @FunctionalInterface annotation- 4.11.1
Functional Interfaces and the @FunctionalInterface annotation
- 4.12
Sealed Classes overview- 4.12.1
Sealed Classes overview
- 4.13
Liskov Substitution Principle- 4.13.1
Liskov Substitution Principle.
5Exception Handling (4 LHs)
- 5.1
Exception Handling Fundamentals- 5.1.1
Exception Handling Fundamentals
- 5.2
Exception Hierarchy- 5.2.1
Exception Hierarchy: Throwable, Error, Exception, Runtime Exception
- 5.2.2
Throwable
- 5.2.3
Error
- 5.2.4
Exception
- 5.2.5
RuntimeException
- 5.3
Checked vs. Unchecked Exceptions- 5.3.1
Checked vs. Unchecked Exceptions
- 5.4
Understanding uncaught exceptions and stack traces- 5.4.1
understanding uncaught exceptions and stack traces
- 5.5
Using try, catch, and finally blocks- 5.5.1
Using try, catch, and finally blocks
- 5.5.2
try block
- 5.5.3
catch block
- 5.5.4
finally block
- 5.6
Multiple catch clauses- 5.6.1
multiple catch clauses
- 5.7
Nested try statements- 5.7.1
nested try statements
- 5.8
Multi catch (Java 7+)- 5.8.1
Multi catch (Java 7+)
- 5.9
Try with resources for automatic resource management- 5.9.1
try with resources for automatic resource management
- 5.10
Throw and throws keywords- 5.10.1
throw and throws keywords
- 5.10.2
throw
- 5.10.3
throws
- 5.11
Exception chaining (initCause, getCause)- 5.11.1
exception chaining (initCause, getCause)
- 5.12
Java's Built in Exceptions overview- 5.12.1
Java's Built in Exceptions overview
- 5.13
Creating Custom Exception Subclasses- 5.13.1
Creating Custom Exception Subclasses
- 5.14
Best practices for exception design- 5.14.1
best practices for exception design
6Generics and Collections (5 LHs)
- 6.1
Importance of Generic Programming- 6.1.1
Importance of Generic Programming
- 6.2
Defining Generic Classes and Methods- 6.2.1
defining Generic Classes and Methods
- 6.2.2
Generic classes
- 6.2.3
Generic methods
- 6.2.4
Type parameters
- 6.3
Bounded Wildcards (extends/super)- 6.3.1
Bounded Wildcards (extends/super)
- 6.3.2
Upper bounded wildcard: extends
- 6.3.3
Lower bounded wildcard: super
- 6.4
Type erasure and heap pollution- 6.4.1
type erasure and heap pollution
- 6.5
Restrictions and Limitations of Generics- 6.5.1
Restrictions and Limitations of Generics
- 6.6
Inheritance Rules with Generics- 6.6.1
Inheritance Rules with Generics
- 6.7
The Java Collections Framework- 6.7.1
The Java Collections Framework: List, Set, Map, Queue, and Deque interfaces
- 6.7.2
List
- 6.7.3
Set
- 6.7.4
Map
- 6.7.5
Queue
- 6.7.6
Deque
- 6.8
Iterators and the Iterable interface- 6.8.1
Iterators and the Iterable interface
- 6.9
Enhanced for loop with collections- 6.9.1
enhanced for loop with collections
- 6.10
Type Wrappers- 6.10.1
Type Wrappers: Character, Boolean, numeric wrappers
- 6.10.2
Character wrapper
- 6.10.3
Boolean wrapper
- 6.10.4
Numeric wrappers
- 6.11
Autoboxing and Unboxing- 6.11.1
Autoboxing and Unboxing
- 6.12
Autoboxing in expressions- 6.12.1
Autoboxing in expressions
- 6.13
Autoboxing with Boolean and Character- 6.13.1
autoboxing with Boolean and Character
- 6.13.2
preventing errors.
- 6.14
Preventing autoboxing errors
7Multithreaded Programming (5 LHs)
- 7.1
The Java Thread Model- 7.1.1
The Java Thread Model: threads vs. processes
- 7.1.2
Threads versus processes
- 7.1.3
Main thread
- 7.1.4
Thread lifecycle
- 7.2
Benefits of multithreading- 7.2.1
benefits of multithreading
- 7.2.2
Thread Priorities
- 7.2.3
synchronization
- 7.3
Messaging between threads- 7.3.1
messaging between threads
- 7.4
The Thread Class and the Runnable Interface- 7.4.1
The Thread Class and the Runnable Interface
- 7.4.2
the main thread
- 7.4.3
Thread class
- 7.4.4
Runnable interface
- 7.5
Creating Threads- 7.5.1
Creating Threads: implementing Runnable
- 7.6
Extending Thread class- 7.6.1
extending Thread class
- 7.7
Creating Multiple Threads- 7.7.1
Creating Multiple Threads
- 7.8
Using isAlive() and join()- 7.8.1
using isAlive() and join()
- 7.8.2
isAlive()
- 7.8.3
join()
- 7.9
Thread Priorities and scheduling- 7.9.1
Thread Priorities and scheduling
- 7.10
Synchronization- 7.10.1
Synchronization: synchronized methods and synchronized statements.
- 7.10.2
synchronized methods
- 7.10.3
synchronized statements
8Essential Java Classes (3 LHs)
- 8.1
String Class- 8.1.1
String Class: constructors, length, special operators (concatenation, conversion, toString())
- 8.1.2
String constructors
- 8.1.3
String length
- 8.1.4
String concatenation
- 8.1.5
String conversion
- 8.1.6
toString()
- 8.2
Character extraction- 8.2.1
Character extraction: charAt() and getChars()
- 8.2.2
charAt()
- 8.2.3
getChars()
- 8.3
String comparison methods- 8.3.1
String comparison methods
- 8.4
Modifying Strings- 8.4.1
Modifying Strings: substring(), concat(), replace(), trim()
- 8.4.2
substring()
- 8.4.3
concat()
- 8.4.4
replace()
- 8.4.5
trim()
- 8.5
StringBuffer and StringBuilder- 8.5.1
StringBuffer and StringBuilder: mutable strings, performance considerations
- 8.5.2
StringBuffer
- 8.5.3
StringBuilder
- 8.5.4
Mutable strings and performance
- 8.6
String Handling Library Functions overview- 8.6.1
String Handling Library Functions overview
- 8.7
Math Class- 8.7.1
Math Class: commonly used mathematical methods
- 8.8
Primitive Type Wrappers- 8.8.1
Primitive Type Wrappers: Character, Boolean, Integer, Double methods and conversions
- 8.8.2
Character wrapper methods
- 8.8.3
Boolean wrapper methods
- 8.8.4
Integer wrapper methods
- 8.8.5
Double wrapper methods
- 8.9
Introduction to Lambda Expressions and Stream API (overview for modern Java awareness)- 8.9.1
Introduction to Lambda Expressions and Stream API (overview for modern Java awareness).
- 8.9.2
Lambda expressions overview
- 8.9.3
Stream API overview
9File Handling (5 LHs)
- 9.1
Introduction to Files- 9.1.1
Introduction to Files
- 9.2
File class- 9.2.1
File class: creating, deleting, listing files and directories
- 9.2.2
Creating files
- 9.2.3
Deleting files
- 9.2.4
Listing files and directories
- 9.3
File Modes and I/O Exceptions- 9.3.1
File Modes and I/O Exceptions
- 9.4
AutoCloseable, Closeable, and Flushable Interfaces- 9.4.1
AutoCloseable, Closeable, and Flushable Interfaces
- 9.4.2
AutoCloseable
- 9.4.3
Closeable
- 9.4.4
Flushable
- 9.5
Byte Streams- 9.5.1
Byte Streams: InputStream, OutputStream, FileInputStream, FileOutputStream
- 9.5.2
InputStream
- 9.5.3
OutputStream
- 9.5.4
FileInputStream
- 9.5.5
FileOutputStream
- 9.6
PrintStream, DataOutputStream, DataInputStream- 9.6.1
PrintStream, DataOutputStream, DataInputStream
- 9.6.2
PrintStream
- 9.6.3
DataOutputStream
- 9.6.4
DataInputStream
- 9.7
RandomAccessFile for random access- 9.7.1
RandomAccessFile for random access
- 9.8
Character Streams- 9.8.1
Character Streams: Reader, Writer
- 9.8.2
Reader
- 9.8.3
Writer
- 9.9
FileReader, FileWriter, PrintWriter, BufferedReader, BufferedWriter- 9.9.1
FileReader, FileWriter, PrintWriter, BufferedReader, BufferedWriter
- 9.9.2
The Console Class
- 9.9.3
FileReader
- 9.9.4
FileWriter
- 9.9.5
PrintWriter
- 9.9.6
BufferedReader
- 9.9.7
BufferedWriter
- 9.10
Reading from standard input and writing formatted output- 9.10.1
reading from standard input and writing formatted output
- 9.11
NIO.2 API (java.nio.file)- 9.11.1
NIO.2 API (java.nio.file): Path, Files, Paths modern file operations
- 9.11.2
Path
- 9.11.3
Files
- 9.11.4
Paths
- 9.12
Sequential and Random Access to Files- 9.12.1
Sequential and Random Access to Files
- 9.12.2
Sequential file access
- 9.12.3
Random file access
- 9.13
Serialization- 9.13.1
Serialization: Serializable interface, ObjectOutputStream, ObjectInputStream
- 9.13.2
Serializable interface
- 9.13.3
ObjectOutputStream
- 9.13.4
ObjectInputStream
- 9.14
I/O Classes and Interfaces review- 9.14.1
I/O Classes and Interfaces review.