Advertisement
sergAccount

Untitled

Jan 31st, 2021
836
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.81 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package com.mycompany.ja7;
  7.  
  8. /**
  9.  *
  10.  * @author Admin
  11.  */
  12. public class Institute {
  13.    
  14.     public static final int INSTITUTE1 = 1101;
  15.     public static final int INSTITUTE2 = 1102;
  16.     public static final int INSTITUTE3 = 1103;
  17.     //    
  18.     public static final int[] all = {INSTITUTE1, INSTITUTE2, INSTITUTE3};
  19.    
  20.     //
  21.     public static void printAll(){
  22. //        System.out.println(INSTITUTE1);
  23. //        System.out.println(INSTITUTE2);
  24. //        System.out.println(INSTITUTE3);
  25.         for (int i = 0; i < all.length; i++) {
  26.             System.out.println(all[i]);            
  27.         }
  28.     }    
  29. }
  30.  
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement