Introduction To Java Language
Introduction To Java Language
" , اﻟﻌﺎﻟﻤ(ﺔ
#د ِ ﻣﺪرﺳﺔ ﺟ(ﻪ اس اس
JSS INTERNATIONAL SCHOOL, DUBAI
Revision Worksheet - 2
Grade: 11
Date: 21/05/2023
class Time
fi
Member Methods:
void get_time( ) : to accept a time in hour, minute and second.
void show_time( ) : to display the time in terms of hour, minute and second.
Write a main method to create an object of class 'Time' and call the member methods.