Create Class Date with variables day,month,year and a function display() and another class Time with variables hour,minutes,seconds and a function display(). Now create a third class named Time_Date it will inherit from both Classes Date and Time it should have a function display() which will display time and date.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here