476179

MyPattern

Sep 24th, 2019
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. package activities;
  2.  
  3. public class MyTime
  4. {
  5.  
  6. public static void main(String[] args)
  7. {
  8. int hour = 12 , minutes = 30;
  9. System.out.println("The current time is:\n"+hour+":"+minutes+" PM");
  10. }
  11.  
  12. }
Add Comment
Please, Sign In to add comment