-1

🇷🇺 какое сейчас время?

import java.util.Date; public class Program {     public static void main(String[] args) {         Date currentTime = new Date();         int hours = currentTime.getHours();         int mins = currentTime.getMinutes();         int secs = currentTime.getSeconds(12);                  System.out.println("Time from midnight " + hours + ":" + mins + ":" + secs);     } }

11/7/2017 5:18:52 PM

ZenHaker

0 Answers

New Answer