일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 자바 야구게임
- 다형성
- 상속예제
- Validations
- full text indexing
- 가변인자
- IBatis procedure
- 단축키
- Random
- 페이징
- 야구게임
- 형변환
- 다운캐스팅
- while
- Full text
- 상속
- 스프링
- Login with OAuth Authentication
- 전자정부
- 전체텍스트
- 전체
- 추상클래스
- 이클립스
- 로또
- angular2
- 업캐스팅
- jquery
- 자바
- 25가지 효율적인 sql작성법
- Today
- Total
목록전체 글 (448)
nalaolla
package test.com; import java.util.Scanner; public class Test04Score2 { public static void main(String[] args) { Test04ScoreSub scoresub = new Test04ScoreSub(); scoresub.ScorePrint(); } } class Test04ScoreSub{ public void ScorePrint(){ System.out.println("[성적관리 프로그램]"); System.out.println("========================="); Scanner scanner = new Scanner(System.in); System.out.println("국어점수입력"); int ko..
package test.com; public class Test04Score { public static void main(String[] args) { //성적처리 프로그램 String nKor = "국어"; String nEng = "영어"; String nMath = "수학"; int korScore = 100; int engScore = 49; int mathScore = 98; int totalSum = korScore+engScore+mathScore; double totalAvg = totalSum/3; String inputComment = " 점수를 입력학세요 : "; String line = "========================"; //변수의 상수 처리를 위한 final fin..
package test.com; public class Test03Sysout { public static void main(String[] args) { //System 출력(콘솔출력) System.out.println(1);//숫자 : ""표기생략 System.out.println(10); System.out.println(3.14); System.out.println(-1200); System.out.println("TEXT"); //문자열표기 System.out.println('민'); //문자 : ''표기 System.out.println(11+22); System.out.println(""+11+22); System.out.println(11+22+""); System.out.println("..
package test.com; public class Test02Comment { public static void main(String[] args) { //main coding >> ctrl + space //주석 : 단축키 Ctrl + Shift + c, // Ctrl + / /* 한줄또는 여러줄 주석(주석하고자 하는 코딩 drag후) : * Ctrl + Shift + / * 주석해제 : Ctrl + Shift + */ //줄정리 단축키 : Ctrl + Shift + f// 'sysout' + Ctrl + Shift = System.out.println(); } }
//package 이름package test.com; //class 선언public class Test01Hello { public static void main(String[] args) { System.out.println("Hello"); System.out.println("World"); } }=================================================================자바의 가장 기초적인 문법 [라인설명]2. 패키지 선언5. 클래스 선언7. Main메소드 선언9~11. console창에 해당 문자열 출력
Eclipse 팁 #1 (코드 Style 설정) 팀 프로젝트를 진행할때 개발자별로 Coding Style이 달라서 고생하는 경우가 많습니다. 이를 위해 Eclipse는 코드 형식화를 지원하는데요,아래와 같이 코딩 규칙을 위해바는 코드가 있다고 가정합시다. 해당 코드 위에서 [ Ctrl+Shift+F ] 키만 누르면 아래와 같이 코드가 이쁘게 정리됩니다. 이는 Eclipse에서 설정된 Code Formatter의 설정에 따른 것입니다. 프로젝트에서 개발된 모든 코드에 같은 코딩 규칙을 적용하고 싶다면.. 결정된 Coding Convention에 따라 Code Formatter의 설정을 바꾼 다음, 그것을 XML 파일로 Export하고, 개발자에게 Import 시켜 적용하도록 하면 된답니다. 아래 그림은 W..