This is an updated version of my Java Basics repository. It includes more detailed practice on object-oriented programming concepts and a deeper understanding of Java methods. The goal of this release is to improve my ability to write clean and structured Java code using proper class design and method implementation.
Topics covered in this release:
• Class structure and fundamentals
• Declaring and assigning object references
• Method creation and overloading
• Constructors and the this keyword
• Basic memory management using garbage collection
• A simple stack class implementation
• Using objects as method parameters
• Argument passing and returning objects from methods
• Recursion examples
• Access modifiers and access control
• Understanding static and final
• Arrays and how to work with them
• Nested and inner classes
• String class usage
• Command-line arguments
• Variable-length arguments (varargs)
• Local variable type inference using var