JavaRush
AI Academy
new
Promotion
Learning
Courses
Tasks
Quizzes
Games
Help
Schedule of nudges
Internship
Community
Users
Forum
Chat
Articles
Activities
Reviews
Subscriptions
Light theme

Lectures

  • Reviews
  • About us
  • CS50
Start
Start learning
Start learning
  • My progress
  • Courses
  • Quest map
  • Lectures
  • Common mistakes in class and object declarations

    JAVA 25 SELF
    23 level,0 lecture
    Common early-stage mistakes in Java: class access modifiers, matching the file name to the public class name, braces and placement of class members, object initialization, constructors, and excessive instance creation. We’ll look at best practices and build a mini‑example “Library”, and at the end we’ll break down typical error messages.
    Open
  • Pitfalls with inheritance and method overloading

    JAVA 25 SELF
    23 level,1 lecture
    We break down common Java mistakes with inheritance and method overloading: calling the base class constructor via super(...), restrictions of final classes and final methods, violating the Liskov substitution principle, overloading traps (auto type conversion, ambiguous calls, attempts to differ only by return type), as well as best practices and working examples with polymorphism.
    Open
  • Access modifier errors

    JAVA 25 SELF
    23 level,2 lecture
    Step by step, we go through access levels in Java and common mistakes: forgotten modifiers, breaking encapsulation, protected specifics outside the package, proper use of getters/setters, and returning copies of collections. We cement best practices with practical examples.
    Open
  • Problems of polymorphism and abstractions

    JAVA 25 SELF
    23 level,3 lecture
    We analyse polymorphism and abstractions in Java in practice: how a single interface triggers different behaviour, common mistakes (downcasting without checks, calling methods that are absent in the base type, “empty” abstractions, deep hierarchies), as well as best practices for using abstract classes, interfaces, and the @Override annotation in the training example “Library”.
    Open
  • Code style and readability, code conventions

    JAVA 25 SELF
    23 level,4 lecture
    Why Java developers need a unified code style and how to stick to it: we’ll go through common formatting mistakes, basic conventions (indentation, naming, order of class members), show refactoring examples and tools for auto‑formatting and static analysis, so that the code is readable and maintainable.
    Open
Courses
  • Java Course
  • Python Course
  • Development with Claude Code
  • All 16 courses
University
  • Java FullStack
  • Python FullStack
  • AI Native Developer
  • Web FullStack
Community
  • Articles
  • Forum
  • Help with Tasks
Company
  • About us
  • Contacts
  • Reviews
  • Pricing
  • Questions and answers
JavaRush JavaRush: online courses in Java and other programming languages, where you learn by solving tasks. We started in 2012 with a Java course, and today there are 16 courses: Java and Spring, Python, web development, SQL, Go, C#, C++, Kotlin, Swift, Docker and AI development. More than 10,000 tasks with instant checks, and the first level of any course is free. Learn on your own or with a mentor at JavaRush University.
Follow us
Язык интерфейса
Русский
English
Українська
"Programmers are not born" © 2026 JavaRush Terms of Use and Privacy policy
MastercardVisa
"Programmers are not born" © 2026 JavaRush Terms of Use and Privacy policy