Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @(#)Tuan.java
- *
- *
- * @author Thieu Mao
- * @version 1.00 2013/4/22
- */
- public class Tuan {
- /**
- * Creates a new instance of <code>Tuan</code>.
- */
- public Tuan() {
- }
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- String[] str = {"tuankma","tuan"};
- String s1 = "tuankma";
- String s2 = "tuan";
- System.out.println(s1.equals(str[0]) && s2.equals(str[1]));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment