Advertisement
MAllaaEddine

Activity01

Mar 6th, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.52 KB | None | 0 0
  1. public class Projet {
  2.  
  3.     /**
  4.      *
  5.      * @author MAllaaEddine
  6.      */
  7.  
  8.     public void printMonth(){
  9.        
  10.     String Month[] =                                {"January","february","march","april","may","june","july","august","september","october","november","december"};
  11.        
  12.         for(int i = 0 ; i < Month.length ; i++){
  13.             String re = Month[i];
  14.             System.out.println(re);
  15.     }
  16.     }
  17.     public static void main(String[] args) {
  18.             Projet p = new Projet();
  19.             p.printMonth();
  20.             }
  21.    
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement