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
  • Polymorphism: what it is and why you need it

    JAVA 25 SELF
    18 level,0 lecture
    In this lecture, we break down polymorphism in Java: what it is, how overloading differs from overriding, how late binding works, and why one interface can have many implementations. With practical examples we will see how polymorphism simplifies architecture, makes code extensible, and reduces coupling between modules.
    Open
  • Method overloading (overloading)

    JAVA 25 SELF
    18 level,1 lecture
    Diving into method overloading in Java: when it makes sense to declare multiple versions of the same method, how the compiler chooses the best match by parameters, why you cannot overload by return type only, and how overloaded constructors and ... varargs work. We’ll go through examples with println, build a small Calculator, and cover common mistakes related to automatic conversions and ambiguity between Integer/ Long.
    Open
  • Method overriding: how it differs from overloading

    JAVA 25 SELF
    18 level,2 lecture
    A deep dive into method overriding in Java: how overriding enables run-time polymorphism, how it differs from overloading, what rules apply (signatures, access, exceptions, covariance), how to use @Override and call parent logic via super. We will show practical examples and walk through common mistakes.
    Open
  • Using polymorphism in practice

    JAVA 25 SELF
    18 level,3 lecture
    We demonstrate polymorphism with real examples: how to store heterogeneous objects in one collection of a base type and call the “right” methods without if/ switch, how adding a new subclass doesn’t require rewriting the logic, and what limitations the approach has. We will build an employee hierarchy with a work() method, talk about extensibility, and break down common mistakes.
    Open
  • The relationship between polymorphism and abstract classes

    JAVA 25 SELF
    18 level,4 lecture
    How abstract classes and methods define a common contract and enable polymorphism in Java: why you cannot create an abstract object, how subclasses implement required methods, how to work via a base type and still get the “correct” behavior. We will look at examples with animals and an employee hierarchy, syntax nuances, and common mistakes.
    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