12번
-
[Java] 명품 자바 프로그래밍(Java Programming) 7장 실습문제 12번 Java / CSECSE/Java 2015. 6. 13. 11:06
Phone.java 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 package ch07; public class Phone { private String name; private String address; private String phoneNumber; public Phone() { } public Phone(String name, String address, String phoneNumber) { super(); this.name = name; this.address = address; this.phoneNumber = phoneNumber; } public String getName()..
-
[Java] 명품 자바 프로그래밍(Java Programming) 6장 실습문제 12번CSE/Java 2015. 6. 13. 11:05
Person.java 1234567891011121314151617181920212223242526272829303132333435363738394041 package ch06; public class Person { private String name; private int[] arr; public Person(String name) { this.name = name; arr = new int[3]; } public boolean generate() { for (int i = 0; i
-
[Java] 명품 자바 프로그래밍(Java Programming) 3장 실습문제 12번CSE/Java 2015. 6. 13. 11:00
1234567891011121314151617181920212223242526272829303132333435 package ch02; public class Practice12 { public static void main(String[] args) { int tenLine = 0; int clappingCount = 0; int threesixnine = 0; boolean flag = false; for (int i = 1; i