Skip to content

This repository contains the solutions for an exercise which focuses on implementing a class hierarchy in Java, as outlined in the provided instructions.

Notifications You must be signed in to change notification settings

Kaoutherbo/Class-Hierarchy-Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class Hierarchy Implementation 🔍

This repository contains the solution for Exercise 1 of a Java project. The exercise requires implementing a class hierarchy in Java based on the provided specifications.


Exercise Description 📝:

The exercise involves writing Java code to implement a hierarchy of classes. Specific instructions for creating and utilizing various class types are provided.


Contents 📂:

  • Main.java: Contains the main method to test the class hierarchy implementation.

  • C1.java: Base class implementation.

  • C2.java: Subclass of C1.

  • C3.java: Subclass of C1.

  • C4.java: Subclass of C1.

  • C5.java: Subclass of C2.

  • C6.java: Subclass of C2.

  • C7.java: Subclass of C4.


Usage 🚀:

  • Clone the repository to your local machine.
    git clone "https://github.com/Kaoutherbo/Class-Hierarchy-Implementation"
    
  • Navigate to the src folder
    cd src 
    
  • Compile the Java files using a Java compiler.
    javac *.java
    
  • Run the Main.java file to execute the test cases.
    java Main
    

About

This repository contains the solutions for an exercise which focuses on implementing a class hierarchy in Java, as outlined in the provided instructions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy