Skip to content

Instantly share code, notes, and snippets.

🤒
Out sick

Hassan Shahzad Aheer hassanshahzadaheer

🤒
Out sick
Block or report user

Report or block hassanshahzadaheer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hassanshahzadaheer
hassanshahzadaheer / Instructor.java
Created Jun 13, 2016 — forked from jimmykurian/Instructor.java
A super class Person with two subclasses, Student and Instructor, that inherit from Person. A person has a name and a year of birth. A student has a major, and an instructor has a salary.
View Instructor.java
//Instructor.java - Jimmy Kurian
public class Instructor extends Person
{
private double salary;
public Instructor(String n, int byear, double s)
{
super(n, byear);
salary = s;
You can’t perform that action at this time.