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
  • Abstraction in OOP: why and how to use it

    JAVA 25 SELF
    19 level,0 lecture
    A clear introduction to abstraction in OOP with Java: what it is, why it matters, and how to apply it in design. We’ll cover language tools — abstract classes abstract class and interfaces interface, abstract methods, and working via a shared contract (for example, calls like payment.process() or draw()). With practical examples ( Shape, Payment, Transport) we’ll show how to hide implementation details, reduce coupling, and make system extension easier.
    Open
  • Abstract classes and methods: syntax, examples

    JAVA 25 SELF
    19 level,1 lecture
    In this lecture, we walk through abstract classes and methods in Java step by step: when to use abstract, how to declare an abstract class, how it differs from an interface, and how to implement required methods (for example, makeSound()) in subclasses. We’ll support the theory with clear examples ( Animal, Transport, Shape) and cover common mistakes: from trying to instantiate an abstract class to misusing modifiers.
    Open
  • Implementing Abstractions and Hierarchies

    JAVA 25 SELF
    19 level,2 lecture
    A practical guide to building class hierarchies in Java: from abstraction to details. Using examples of shapes, a mini editor, payments, and transport, we show how to move common parts into a base abstract class, override methods like area()/ draw(), extend the system without rewriting code, and avoid duplication. We’ll finish with a review of typical mistakes and design tips.
    Open
  • Examples of building abstractions in real-world problems

    JAVA 25 SELF
    19 level,3 lecture
    We practice applying abstractions in real-world scenarios: payments, transport, a graphics editor. We’ll show how to extract shared behavior into a base abstract class, work through a common contract, and replace branchy if- else code with polymorphism. Along the way, we’ll see how to invoke methods like process(), move(), draw()/ resize() uniformly so the code is flexible and extensible.
    Open
  • Simplifying complex systems with abstractions

    JAVA 25 SELF
    19 level,4 lecture
    How to break complex applications into levels of abstraction (UI, business logic, data access) so the code remains clear and extensible. In practice, we build a mini task manager with layers Task, TaskRepository, TaskService, show how to swap implementations, and highlight team benefits. We’ll go over best practices, common mistakes, and an example with services OrderService/ OrderRepository, as well as methods like saveOrder() and findUserById().
    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