class extensions

Inheritance and class extensions – Java Tutorial Inheritance is where you can apply a general category to a more specific one. If you remember back in Lesson Three, we used the constructor Student oneStudent = new Student(). This is how inheritance works. We could also type Student studentTwo = new Student() and Student thirdStudent = […]