Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package activities;
- public class MyTime
- {
- public static void main(String[] args)
- {
- int hour = 12 , minutes = 30;
- System.out.println("The current time is:\n"+hour+":"+minutes+" PM");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement