Computer Engineering is coming soon
We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.
Computer Engineering
Object Oriented Programming in Java
Classes and objects, inheritance, interfaces, exceptions, multithreading.
Your progress in this subject0 of 15 · 0%
- 1Programming paradigmsProgramming paradigms: imperative/procedural, object-oriented, functional, declarative, event-driven, concurrent, and how Java supports and blends them.
- 2Object-oriented conceptsCore object-oriented concepts in Java: class, object, abstraction, encapsulation, inheritance, polymorphism, associations (aggregation/composition), access control, cohesion/coupling, and basic UML notations.
- 3Java data types, operators and expressionsJava data types (primitive and reference), literals, type conversion and promotion, operators (arithmetic, relational, logical, bitwise, shift, assignment, ternary, instanceof), precedence, and expressions with evaluation order, short-circuiting, overflow, and IEEE‑754 behavior.
- 4Control statements in JavaControl statements in Java: sequence, selection (if, if–else, switch), iteration (while, do–while, for, enhanced for), and jump statements (break, continue, return, labels) with syntax, rules, and examples.
- 5Classes, objects and methods in JavaDefinitions, syntax, and examples for Java classes, objects, fields and methods, including object creation, access control, method calling, parameter passing, and basic object behavior (toString, equals), with runnable programs.
- 6Method overloadingExplains Java method overloading: definition, signature rules, overload resolution order (exact, widening, boxing/unboxing, varargs), ambiguity cases, and interactions with inheritance, with runnable examples.
- 7Arrays in JavaClear, exam-focused notes on Java arrays: what they are, how to declare/use them, important rules (indexing, defaults, covariance), common library methods, and three runnable example programs with exact input/output.
- 8Command-line and variable-length argumentsHow Java programs receive command-line arguments via the main method's String[] (or String...) parameter and how to write and use variable-length (varargs) parameters with the ... syntax, including rules, examples and common exam points.
- 9Console input and output with streamsConsole input and output with streams in Java: how byte and character streams work, common classes (System.in/out/err, InputStreamReader, BufferedReader, Scanner, PrintWriter), sample programs, and exam-focused notes.
- 10Inheritance in JavaClear, exam-focused notes on Java inheritance: what it is, rules, syntax, examples (runnable Java), common mistakes and likely exam questions.
- 11Abstract classes, final and dynamic bindingNotes on Java abstract classes, final (variables/methods/classes) and dynamic binding (runtime method dispatch).
- 12Interfaces in JavaClear, exam-focused notes on Java interfaces: what they are, rules, syntax, default/static/functional features, examples, common mistakes and short practice questions.
- 13Exception handling in JavaPractical, exam-focused notes on Java exception handling: definitions, propagation, syntax, examples (including custom and try-with-resources), common mistakes and sample questions.
- 14Multithreading in JavaMultithreading in Java: concepts (thread, synchronization, race, deadlock), Java APIs (Thread, Runnable, synchronized, volatile, locks, ExecutorService), memory-model rules (happens-before) and example programs showing common patterns.
- 15Packages and the Java APIHow Java packages organize classes, control visibility, and how to use the Java API (common packages, imports, and classpath) for building modular, reusable code.
Coming next in Object Oriented Programming in Java
- Java program structure and the JVM· notes coming
- Constructors, this and static members· notes coming
- Static methods, fields and scope· notes coming
- Iterators and generic classes in Java· notes coming
- String handling in Java· notes coming
- Java collections: List, Set and Map· notes coming
- File handling and random-access files in Java· notes coming
- Java applets: life cycle, display methods and graphics· notes coming
- Database programming with JDBC· notes coming