블로그
- 53번째 퍼즐 - 내가 해야 할 일 (도서) 53번째 퍼즐 - 내가 해야 할 일 다음과 같은 Q53_Thing 클래스가 있고, Q53_Thing 클래스는 int 자료형을 매개변수로 받는 생성자가 있다 public class Q53_Thing { public Q53_Thing(int i) { ... }}Colored by Color Scriptercs Q53_Thing 클래스는 생성자의 매개변수로 받은
- 54번째 퍼즐 - Null 과 Void public class Q54_Null_and_Void { public static void greet() { System.out.println("Hello world!") ; } public static void main(String[] args) { ((Q54_Null_and_Void)null).greet(); }}Colored by Color Scriptercs
- 45번째 퍼즐 - 피곤한 일 public class Q45_Exhausting_Workout { public static void main(String[] args) { workhard(); System.out.println time."); } private static void workhard() { try { workhard(); } finally { workhard(); } }}Colored by Color
- 39번째 퍼즐 - 안녕, 그리고 잘 가 public class Q39_Hello_Goodbye { public static void main(String[] args) { try { System.out.println("Hello world"); System.exit(0); } finally { System.out.println("Goodbye world"); } }}Colored by Color Scriptercs
- 36번째 퍼즐 - 결정하기 힘든 프로그램 public class Q36_Indecision { public static void main(String[] args) { System.out.println(decision()) ; } static boolean decision() { try { return true; } finally { return false; } }}Colored by Color Scriptercs
- 35번째 퍼즐 - 시계 public class Q35_Minute_by_Minute { public static void main(String[] args) { int minutes = 0; for (int 60*1000; ms++) { if (ms % 60*1000 == 0) { minutes++; } } System.out.println(minutes); }}Colored by Color
- 34번째 퍼즐 - 큰 정수를 사용하는 반복문 public class Q34_Down_for_the_Count { public static void main(String[] args) { final int START = 2000000000 0; for (float f = 0; f < START + 50; f++) { count++; } System.out.println(count); }}Colored by Color
- [스크랩] Color Picker for Android 출처 : [ https://github.com/chiralcode/Android-Color-Picker ] Color Picker for AndroidEasy to use, fully functional color picker with compact design based on HSV color model.
- [영진전문대학컴퓨터정보계열컴퓨터프로그래밍전공반] 상속 예제 class Car{ int speed; int gear; public String color; public void speedUp(int increment){ speed += increment ="+color+",Turbo="+turbo; } } public class ex_01 { public static void main(String[] args) { // TODO Auto-generated
- [영진전문대학컴퓨터정보계열컴퓨터프로그래밍전공반] java 실습 (Fraction f) //크기 비교 +Add(Fraction f) //합 +Mult(Fraction f) //곱 +String toString() //출력 Colored By Color 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 class