{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

countdown - hours Thread.sleep(1000*60*60 hours if(hours==0...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.util.*; import java.awt.*; import java.applet.*; import java.net.*; import java.text.*; import javax.swing.*; i public class countdown{ p boolean reached = false; int hours = 47; while(true){ try{ System.out.println("Number of hours left to finish finals(aka PARTYYY): "
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: +hours); Thread.sleep(1000*60*60); hours--; if(hours==0) reached=true; } catch(Exception e){ } } public static void main(String args){ } }...
View Full Document

{[ snackBarMessage ]}