Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
381 B
1
Indexable
Never
class BaseClass {
    // code for the base class
}
class Class1 extends BaseClass {
    // code for Class1
}
class Class2 extends BaseClass {
    // code for Class2
}
class Class3 extends BaseClass {
    // code for Class3
}
// more classes can be added as needed
class Project {
    public static void main(String[] args) {
        // code for the project
    }
}