일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- #CallByAddress
- #JAVASCRIPT
- #성적관리프로그램
- #자바상속#자바이즈어#is~a
- relative path
- git flow
- #2차원배열
- #android activity
- html video
- border-box
- docker example
- #bubbleSort
- html youtube
- #3차원배열
- html code
- html charset
- html id
- 토큰경제
- #binary
- html plug-in
- #C++ has~a
- #1차원배열
- 하이퍼레저패브릭
- #C++ 연산자함수오버로딩
- mac terminal command
- hyperledger transaction
- #다차원포인터
- html object
- html multimedia
- html5 new tag
- Today
- Total
A sentimental robot
import java.util.Scanner;public class Hello2 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); System.out.print("반의 수 :"); int clas; clas=sc.nextInt(); System.out.print("학생 수:"); int student; student=sc.nextInt(); int [][][]score=new int[clas][student][4]; float [][]avg=new float[clas][student]; String [][]name=new String[clas][student]; String []sconame={"Class","Nam..
import java.util.Scanner;public class Hello2 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); System.out.print("Input the number of students:"); int student; student=sc.nextInt(); int [][]score=new int[student][4]; float []avg=new float[student]; String []name=new String[student]; String []sconame={"Name","kor","eng","mat","total","avg"}; for(int i=0; i
import java.util.Scanner; public class Hello { public static void main(String[] args) { Scanner sc=new Scanner(System.in); String str=new String(); // 문자열 클래스는 레퍼런스타입이므로 동적할당으로(힙 영역에) 객체 생성해준다. str=sc.next(); System.out.println(str); } } public class Hello { public static void main(String[] args) { String str=new String("superman"); // 문자열객체 생성과 동시에 초기화 , 처음부터 값 넣기 System.out.println(str); } }..