Advertisement
Guest User

Code Java Version

a guest
Jan 25th, 2021
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. package com.test;
  2.  
  3. import java.util.Date;
  4.  
  5. public class Main {
  6.  
  7. public static void main(String[] args) {
  8.  
  9. Date hora = new Date();
  10. hora.getTime();
  11.  
  12. System.out.println("Testando \n"+hora);
  13.  
  14. int i;
  15. int l=0;
  16.  
  17. for(i=0;i<2000000000;l++){
  18.  
  19. if(i==l){
  20.  
  21. }
  22. if(l==10){
  23. i++;
  24. l=0;
  25. }
  26.  
  27. }
  28.  
  29. Date hora2 = new Date();
  30. hora2.getTime();
  31.  
  32. System.out.println("Finalizou \n"+hora2);
  33.  
  34.  
  35.  
  36. }
  37. }
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement