Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Clean Coding with Classes

via CodeSignal

Overview

Delve into clean coding practices for classes in Java. Understand how to design single responsibility classes, utilize encapsulation, manage constructors, and implement inheritance, overriding, and overloading methods effectively.

Syllabus

  • Unit 1: Designing Single Responsibility Classes
    • Refactor for Clean Responsibility Separation
    • Modular Library Management System Refactoring
    • Refactor School System for Clarity
  • Unit 2: Encapsulation and Access Modifiers
    • Enhancing BankAccount Encapsulation
    • Enhance Rectangle Encapsulation
    • Enhance Library Encapsulation
  • Unit 3: Constructors and Object Initialization in Java
    • Simplifying Constructors for Better Code
    • Simplify Constructor with Overloading
    • Enhance Object Creation with Builder
  • Unit 4: Implementing Inheritance Wisely
    • Streamline Banking with Inheritance
    • Refactor Game Character Relationships
    • Refactor with Formatter Interface
  • Unit 5: Overriding and Overloading Methods for Clean Code
    • Mastering Method Overriding and Overloading
    • Refactor Data Formatting in Java

Reviews

Start your review of Clean Coding with Classes

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.