1 in java and oop inheritance includes the


1. In Java (and OOP), Inheritance includes the concept of super class that is parent class and sub class that is derived class. Explain What is a super class in Java? What is a sub or derived class in Java?

2. Code a simple class in JAVA classed "Student." Your class must consist of  the followings: •Variables (name, age, addressStreet, city, state, zip, country)

Setter and Getter methods

For Example:

public void setName(String name) {

this.name = name;

}

public String getName() {

return name;

}

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: 1 in java and oop inheritance includes the
Reference No:- TGS0220717

Expected delivery within 24 Hours