PowerPoint 프레젠테이션

Similar documents
PowerPoint 프레젠테이션

Java

K&R2 Reference Manual 번역본

02 C h a p t e r Java

C프로-3장c03逞풚

Java ...

PowerPoint 프레젠테이션

슬라이드 1

PowerPoint 프레젠테이션

프로그램을 학교 등지에서 조금이라도 배운 사람들을 위한 프로그래밍 노트 입니다. 저 역시 그 사람들 중 하나 입니다. 중고등학교 시절 학교 도서관, 새로 생긴 시립 도서관 등을 다니며 책을 보 고 정리하며 어느정도 독학으르 공부하긴 했지만, 자주 안하다 보면 금방 잊어

12-file.key

비긴쿡-자바 00앞부속

슬라이드 1

PowerPoint 프레젠테이션

Microsoft PowerPoint 자바-기본문법(Ch2).pptx

03-JAVA Syntax(2).PDF

Microsoft PowerPoint - Java7.pptx

03장.스택.key

13주-14주proc.PDF

4장.문장

07 자바의 다양한 클래스.key

Design Issues

JAVA PROGRAMMING 실습 02. 표준 입출력

자바 프로그래밍

1

05-class.key

PowerPoint Presentation

슬라이드 1

rmi_박준용_final.PDF

슬라이드 1

Connection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET

< E20C6DFBFFEBEEE20C0DBBCBAC0BB20C0A7C7D12043BEF0BEEE20492E707074>

Cluster management software

Microsoft PowerPoint - 04-UDP Programming.ppt

PowerPoint Presentation

untitled

[ 정보 ] 과학고 R&E 결과보고서 Monte Carlo Method 를이용한 고교배정시뮬레이션 연구기간 : ~ 연구책임자 : 강대욱 ( 전남대전자컴퓨터공학부 ) 지도교사 : 최미경 ( 전남과학고정보 컴퓨터과 ) 참여학생 : 박진명 ( 전

09-interface.key

ch09

11 템플릿적용 - Java Program Performance Tuning (김명호기술이사)

PowerPoint 프레젠테이션

자바-11장N'1-502

<4D F736F F F696E74202D20C1A63234C0E520C0D4C3E2B7C228B0ADC0C729205BC8A3C8AF20B8F0B5E55D>

歯JavaExceptionHandling.PDF

교육자료

class Sale void makelineitem(productspecification* spec, int qty) SalesLineItem* sl = new SalesLineItem(spec, qty); ; 2. 아래의액티비티다이어그램을보고 Java 또는 C ++,

5장.key

<4D F736F F F696E74202D20C1A63038C0E520C5ACB7A1BDBABFCD20B0B4C3BC4928B0ADC0C729205BC8A3C8AF20B8F0B5E55D>

Microsoft PowerPoint - java1-lab5-ImageProcessorTestOOP.pptx

JMF2_심빈구.PDF

PowerPoint Presentation

초보자를 위한 C# 21일 완성

PowerPoint 프레젠테이션

4. #include <stdio.h> #include <stdlib.h> int main() { functiona(); } void functiona() { printf("hihi\n"); } warning: conflicting types for functiona

Microsoft PowerPoint - Supplement-03-TCP Programming.ppt [호환 모드]

Microsoft PowerPoint - lec2.ppt


Microsoft Word - java19-1-midterm-answer.doc

5.스택(강의자료).key

Semantic Consistency in Information Exchange

chap10.PDF

TEST BANK & SOLUTION

<4D F736F F F696E74202D20C1A63036C0E520BCB1C5C3B0FA20B9DDBAB928B0ADC0C729205BC8A3C8AF20B8F0B5E55D>

Microsoft PowerPoint - 03-TCP Programming.ppt

파일로입출력하기II - 파일출력클래스중에는데이터를일정한형태로출력하는기능을가지고있다. - PrintWriter와 PrintStream을사용해서원하는형태로출력할수있다. - PrintStream은구버전으로가능하면 PrintWriter 클래스를사용한다. PrintWriter

자바로

Contents Contents 2 1 Abstract 3 2 Infer Checkers Eradicate Infer....

JMF3_심빈구.PDF

untitled

歯엑셀모델링

<4D F736F F F696E74202D20C1A63235C0E520B3D7C6AEBFF6C5A920C7C1B7CEB1D7B7A1B9D628B0ADC0C729205BC8A3C8AF20B8F0B5E55D>

스레드의우선순위 우선순위설정메소드 : void setpriority(int newpriority) newpriority 에설정할수있는등급 : 1( 가장낮은우선순위 ) 부터 10( 가장높은우선순위 ) 가장높은우선순위 : MAX_PRIORITY, 보통우선순위 : NORM_

< B0B3C0CEC1A4BAB8BAD0C0EFC1B6C1A4BBE7B7CAC1FD2E687770>

歯9장.PDF

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션

Contents. 1. PMD ㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍ 2. Metrics ㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍ 3. FindBugs ㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍ 4. ㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍ

0. 표지에이름과학번을적으시오. (6) 1. 변수 x, y 가 integer type 이라가정하고다음빈칸에 x 와 y 의계산결과값을적으시오. (5) x = (3 + 7) * 6; x = 60 x = (12 + 6) / 2 * 3; x = 27 x = 3 * (8 / 4

FileMaker ODBC and JDBC Guide

01-OOPConcepts(2).PDF

Mobile Service > IAP > Android SDK [ ] IAP SDK TOAST SDK. IAP SDK. Android Studio IDE Android SDK Version (API Level 10). Name Reference V

Microsoft PowerPoint - lec3.ppt

스레드를적용하지않은결과와스레드를적용한결과의비교 1) 두개의작업을스레드를사용하지않고수행한예 ) : 순차작업 class ThreadTest2 { System.out.print("-");// 화면에 - 를출력하는작업 System.out.print(" ");// 화면에 를출력

Interstage5 SOAP서비스 설정 가이드


Javascript.pages

PowerPoint Presentation

fundamentalOfCommandPattern_calmglow_pattern_jstorm_1.0_f…

PL10

UI TASK & KEY EVENT

Week5

예제 2) Test.java class A intvar= 10; void method() class B extends A intvar= 20; 1"); void method() 2"); void method1() public class Test 3"); args) A

Microsoft PowerPoint - 2강

Java XPath API (한글)

6주차.key

Spring Boot/JDBC JdbcTemplate/CRUD 예제

FileMaker ODBC and JDBC Guide

PowerPoint Presentation

신림프로그래머_클린코드.key

Transcription:

@ Lesson 3 if, if else, if else if, switch case for, while, do while break, continue : System.in, args, JOptionPane for (,, )

@ vs. logic data method variable Data Data Flow (Type), ( )

@ Member field Method A Method B Method Field (data) Method - (data)

@ if Yes Yes A Yes No (else) if boolean. C if ( 1 ), if ( 0 ) if(true), if(false). No (else) if( a%2==0){ System.out.println( ); else { System.out.println( ); if( avg >90){ System.out.println( A ); else if( avg >80){ System.out.println( B ); else ------ No (else) B ----

@ if, if if( a%2==0){ System.out.println( ); else { System.out.println( ); int a=15; 1) if(a%2==0) 2) else { int avg=73; 1) if( avg > 90) 2) else if { avg > 80 3) else if { avg > 70 4) { print C

@ switch switch( a ){ case 0 : -- ------ switch(a){ case 0: System.out.println( 0 ); break; case 1: System.out.println( 1 ); break; case 2: System.out.println( 2 ); break; default : System.out.println( 3 ); break; switch a primitive type byte, short, char, int. case. ex) case a>90 : ---- (x)

@ switch char ca= a ; switch(ca){ case a : System.out.println( a ); case b : System.out.println( b ); case c : System.out.println( c ); break; default : System.out.println( d ); break; break break byte ba=10; // char cd = ba; (x) // int char cd=(char)ba; //(0) byte cd=10; switch( cd ){ case a : ---- //error

@ for i=0 ; i<9 ++i for( int i=0 ; i< 9 ; i++){ for( ; ; ){ // loop while( true) int i=0; for( ; i<9; ++i ) for( int i=0, j=1 ; j<9; ++j)

@ for i=0 ; i<9 ++i i=0 if(0%2) continue i=1 1<20 else print i=2 2<20 if(2%2) continue i=3 3<20 ----- if(19%2) else print i=20 20<20 end

@ for for( int i=1; i<500;i*=2){ System.out.println(" ==> "+i); for( int i=500; i>0;i-=50){ System.out.println(" <== "+i); for( int i=2; i<500;i=3*i-2){ System.out.println(" A3n_2 "+i);

@ while while( ) int i=0; while( i<9 ){ System.out.println(i+ ); i++; while( ) continue { break while

@ do while while( ) while : while { do while int i=15; do{ i++; System.out.println("i? "+i); while( i<20 ); i=15 i=16 print 16 while(16<20) i=17 print 17 while(17<20) i=18 print 18 while(18<20) i=19 print 19 while(19<20) i=20 print 20 end

@ goto break for(int i=0;i<10;i++){ aa:{ for(int j=0;j<2;j++){ if(i>5){ System.out.println("i : "+i); else break aa; // for // aa: // for i=0 j=0 if( 0>5 ) else break aa; aa: i=1 j=0 if(1>5) else break aa; aa: i=2 j=0 if(2>5) else break aa; ---- aa: i=6 j=0 if(6>5) println( 6 ) j=1 if(6>5) println(6) i=7 j=0 if(7>5) println( 7 ) j=1 if(7>5) println(7) ---

@ keywords in types, byte short int long char float double true false boolean if else switch case default for do while while continue break

@ 1 String sa=args[0]; String sb=args[1]; String sc=args[2]; String sd=args[3]; System.out.println(". 4!! "); System.out.println(" java ArgsTest_3Chap_01 My Name is Hyoeun"); // java ArgsTest_3Chap_01 My Name is Hyoeun System.out.println(sa); System.out.println(sb); System.out.println(sc); System.out.println(sd); java ArgsTest_3Chap_01 My Name is

@ 1- String System.out.println(". 4!! "); System.out.println(" java ArgsTest_3Chap_01 My Name is Hyoeun"); // java ArgsTest_3Chap_01 My Name is Hyoeun for( int i=0 ; i<args.length ; i++ ){ System.out.println( args[i] ); args[0] args[1] args[2] args[3] My Name is DSU

@ System.in

@ System.in public static void main(string[] args) throws java.io.ioexception // read { char c='0'; int i=0; while(true){ c=(char)system.in.read(); // read -> return int i++; System.out.println(c); // ad 2 enter //--> 'a''d''\n''\r' if(i==10){break; enter \n \r. Exception Handling

@ System.in public static void main(string[] args) throws java.io.ioexception // read { char c='0'; while(c!='q'){ do{ c=(char)system.in.read(); // read -> return int System.out.print(c); while(c=='\n' c=='\r'); enter \n \r. Exception Handling

@ JOptionPane String str= javax.swing.joptionpane.showinputdialog(" "); javax.swing.joptionpane.showmessagedialog(null,str); int yesorno= JOptionPane.showConfirmDialog(null, "choose one", "choose one", JOptionPane.YES_NO_OPTION); if(yesorno==joptionpane.yes_option ){ System.out.println("You choose yes option"); else { System.out.println("You choose No option"); javax.swing.joptionpane

@ JOptionPane String str = javax.swing.joptionpane. showinputdialog(" "); javax.swing.joptionpane. showmessagedialog( null, str); javax.swing.joptionpane. JOptionPane.showConfirmDialog( null, "choose one", "Title: choose one", JOptionPane.YES_NO_OPTION);

@ JOptionPane String str= javax.swing.joptionpane.showinputdialog(" "); javax.swing.joptionpane.showmessagedialog(null,str); int yesorno= JOptionPane.showConfirmDialog(null, "choose one", "choose one", JOptionPane.YES_NO_OPTION); if(yesorno==joptionpane.yes_option ){ System.out.println("You choose yes option"); else { System.out.println("You choose No option"); javax.swing.joptionpane

@ System Package Class

@ for execution time for(int i=0;i<1001;i++){ if(i%2==1){ System.out.print(i+" "); for(int i=1;i<1001;i+=2){ System.out.print(i+" "); long times1=system.currenttimemillis(); for(int i=0;i<1001;i++){ switch(i%2){ case 1 : System.out.print(i+" "); break; default : break; long times2=system.currenttimemillis(); System.out.println( times2 - times1);

@ Nested for i=2 ; i<300 ; i++ j=2 ; j<=i ; j++ for(int i=2;i<300;i++){ System.out.print(i+" : 1 "); for(int j=2;j<=i;j++){ if(i%j==0){ System.out.print(j+" "); System.out.println();

@ Nested for i=2 ; i<100 ; i++ j=2 ; j<i ; j++ for(int i=2;i<100;i++){ boolean boolean isp=true; isp=true; for(int j=2;j<i;j++){ if(i%j==0){ if(i%j==0){ isp=false; isp=false; break; break; // else{ else{ isp=true; isp=true; if(isp){ System.out.println(i+" "); else{ System.out.println(i+" ");

@ for if, if else, if else if, switch case for, while, do while break, continue