최's 먹공로그
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 package org.opentutorials.javatutorials.comment; public class comment { public static void main(String[] args) { // 한 줄 주석 /* 여러줄~~~ ~~~ ~~~ */ /** * java doc 주석 */ /* * 단축키 ctrl + shift + / * 해제 단축키 ctrl + shift + \ * int a; a = 2; System.out.println(a);*/ // 단축키 ctrl + / // int a; // a = 2; // System.out.println(a..
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 package org.opentutorials.javatutorials.bool; public class bool { public static void main(String[] args) { System.out.println(1 == 3); // false System.out.println(1 == 1); // true System.out.println("one" == "two"); System.out.println("one" == "one"); System.out.println(1 != 3); // true System.out.println(1 != 1); // false Syst..