thieumao

Test kieu chuoi

Apr 22nd, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.49 KB | None | 0 0
  1. /**
  2.  * @(#)Tuan.java
  3.  *
  4.  *
  5.  * @author Thieu Mao
  6.  * @version 1.00 2013/4/22
  7.  */
  8.  
  9. public class Tuan {
  10.        
  11.     /**
  12.      * Creates a new instance of <code>Tuan</code>.
  13.      */
  14.     public Tuan() {
  15.     }
  16.    
  17.     /**
  18.      * @param args the command line arguments
  19.      */
  20.     public static void main(String[] args) {
  21.         String[] str = {"tuankma","tuan"};
  22.         String s1 = "tuankma";
  23.         String s2 = "tuan";
  24.         System.out.println(s1.equals(str[0]) && s2.equals(str[1]));
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment