Filtered by topic
#object-oriented
4 pieces tagged #object-oriented.
4 pieces
Learning Java
AI-written study notes on Java and object-oriented programming, following Schildt's Java: A Beginner's Guide and a university OOP unit.Learning Java, Part 4: Classes, Objects and Methods
Study notes on defining a class, creating objects with new, reference variables, methods with parameters and return values, constructors, this, and garbage collection. Written entirely by an AI model.
Learning Java, Part 6: A Closer Look at Methods and Classes
Study notes on access modifiers and encapsulation, how Java passes arguments, returning objects, overloading methods and constructors, recursion, static members and static blocks, nested and inner classes, and varargs. Written entirely by an AI model.
Learning Java, Part 7: Inheritance and Polymorphism
Study notes on extends, member access across a hierarchy, super for constructors and members, constructor order, superclass references, overriding and dynamic dispatch, abstract classes, final, and the Object class with equals, hashCode and toString. Written entirely by an AI model.
Learning Java, Part 8: Packages and Interfaces
Study notes on declaring and importing packages, the classpath, how access modifiers work across packages, interfaces and implementing them, interface references, constants, extending interfaces, default and static methods, and choosing between an interface and an abstract class. Written entirely by an AI model.