PowerPoint 프레젠테이션

Similar documents
PowerPoint 프레젠테이션

PowerPoint 프레젠테이션

1

03-JAVA Syntax(2).PDF

K&R2 Reference Manual 번역본

02 C h a p t e r Java

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

Microsoft PowerPoint - lec2.ppt

PowerPoint 프레젠테이션

자바 프로그래밍

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

rmi_박준용_final.PDF

5장.key

09-interface.key

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

C프로-3장c03逞풚

Microsoft PowerPoint - 04-UDP Programming.ppt

05-class.key

Java

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

비긴쿡-자바 00앞부속

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

12-file.key

Java ...

Modern Javascript

03장.스택.key

chap10.PDF

01-OOPConcepts(2).PDF

untitled

JAVA PROGRAMMING 실습 02. 표준 입출력

ilist.add(new Integer(1))과 같이 사용하지 않고 ilist.add(1)과 같이 사용한 것은 자바 5.0에 추가된 기본 자료형과 해당 객체 자료 형과의 오토박싱/언박싱 기능을 사용한 것으로 오토박싱이란 자바 컴파일러가 객체를 요구하는 곳에 기본 자료형

PowerPoint 프레젠테이션

4장.문장

C# Programming Guide - Types

10.0pt1height.7depth.3width±â10.0pt1height.7depth.3widthÃÊ10.0pt1height.7depth.3widthÅë10.0pt1height.7depth.3width°è10.0pt1height.7depth.3widthÇÁ10.0pt1height.7depth.3width·Î10.0pt1height.7depth.3width±×10.0pt1height.7depth.3width·¡10.0pt1height.7depth.3width¹Ö pt1height.7depth.3widthŬ10.0pt1height.7depth.3width·¡10.0pt1height.7depth.3width½º, 10.0pt1height.7depth.3width°´10.0pt1height.7depth.3widthü, 10.0pt1height.7depth.3widthº¯10.0pt1height.7depth.3width¼ö, 10.0pt1height.7depth.3width¸Þ10.0pt1height.7depth.3width¼Ò10.0pt1height.7depth.3widthµå

fundamentalOfCommandPattern_calmglow_pattern_jstorm_1.0_f…

Design Issues

Connection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET

슬라이드 1

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

ch09

JMF3_심빈구.PDF

교육자료

10장.key

Microsoft PowerPoint - Java7.pptx

PowerPoint Presentation

13ÀåÃß°¡ºÐ

PowerPoint Presentation

슬라이드 1

13주-14주proc.PDF

Chap12

Cluster management software

자바GUI실전프로그래밍2_장대원.PDF

< E20C6DFBFFEBEEE20C0DBBCBAC0BB20C0A7C7D12043BEF0BEEE20492E707074>

Microsoft PowerPoint - 2강

PowerPoint 프레젠테이션

JMF2_심빈구.PDF

i n i n i n 1

03장

Microsoft PowerPoint - java1-lab5-ImageProcessorTestOOP.pptx

mytalk

예제 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

자바-11장N'1-502

교육2 ? 그림

슬라이드 1

과목명

歯JavaExceptionHandling.PDF

Spring Boot/JDBC JdbcTemplate/CRUD 예제

Cluster management software

제11장 프로세스와 쓰레드

6주차.key

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

PowerPoint Presentation

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

Java ~ Java program: main() class class» public static void main(string args[])» First.java (main class ) /* The first simple program */ public class

OOP 소개

쉽게 풀어쓴 C 프로그래밍

MasoJava4_Dongbin.PDF

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

Interstage5 SOAP서비스 설정 가이드

No Slide Title

* Factory class for query and DML clause creation * tiwe * */ public class JPAQueryFactory implements JPQLQueryFactory private f

슬라이드 1

PowerPoint Presentation

gnu-lee-oop-kor-lec10-1-chap10

Spring Data JPA Many To Many 양방향 관계 예제

Java XPath API (한글)

C++-¿Ïº®Çؼ³10Àå

Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras

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

FileMaker ODBC and JDBC Guide

Microsoft PowerPoint - lec3.ppt

JAVA PROGRAMMING 실습 08.다형성

Microsoft PowerPoint - RMI.ppt

q 이장에서다룰내용 1 객체지향프로그래밍의이해 2 객체지향언어 : 자바 2

Semantic Consistency in Information Exchange

PowerPoint 프레젠테이션

[ 프로젝트이름 ] : Project_Car [ 프로젝트를만든목적 ] : 임의의자동차판매소가있다고가정하고, 고객이원하는자동차의각부분을 Java 를이용하여객 체로생성하고, 그것을제어하는메소드를이용하여자동차객체를생성하는것이목표이다. [ 프로젝트패키지와클래스의내용설명 ] [

Microsoft PowerPoint - 3ÀÏ°_º¯¼ö¿Í »ó¼ö.ppt

Transcription:

@ Lesson 2... ( ). ( ).

@ vs. logic data method variable behavior attribute method field Flow (Type), ( ) member

@ () : C program Method A ( ) Method B ( ) Method C () program : Java, C++, C# data

@ Program A Loose coupling (Robust) Tight cohesive Program B. (Reusable)

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

@ Identifiers, - Pascal ex) PersonInSchool, - Camel ex) moneyinmypocket, goschool() (,keyword ) $, _ ($ nested class, _ c ).(2,s2) $,_.

@ Type Type Java Primitive Object Wrapper Wrapper class Primitive Object Built-in Simple Type Built-in Floating-point Type Built-in Object Type User-defined Object Type Boolean type

@ premitive bit bit bit bit bit bit bit bit byte char short int long long float double

@ Keywords Keywords abstract float protected boolean for public break future strictfp byte generic return byvalue goto short assert if static case implements super catch import switch char inner synchronized class instanceof this const int throw continue interface throws default long transient do native true double new try else null var extends operator void false outer volatile final package while finally private New keywords assert,grayed words are reserved but not currently in use. Note: Grayed words are reserved but not currently in use. New keywords assert

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

@ variable data (Storage of data) valuea = 5; valueb = 0; valuec = valueb + valuea; valuec? valueb 0 valuea 5 valued = 5; valued = valued + 6; 6 valued 5

@ data? (down) cast double float long int short, char byte promotion

@ data double float long int short, char byte 8 byte 4 byte 8 byte 4 byte 2 byte 320 0.32E3, 0.00032 0.32E-3 +-4.9E-324 ~.8E308 +-.4E-0.5 ~ 3.4E038-2^63 ~ 2^63 - -2^3 ~ 2^3 - -2^5 ~ 2^5, 0 ~ 2^6 (65536) -2^7 ~ 2^7 int 23 int 23 2048 024 52 256 28 64 32 6 8 4 2 0 00000000 00000000 00000000 00 short 23 00000000 00

@ data ( ) { { int d = 98; int c = 9; { int b = 0; { int a = 0; } } } } { }, { }, //

@ if, for Yes No (else) if( a%2==0){ System.out.println( ); }else { System.out.println( ); } i=0 i<9 for( int i=0 ; i< 9 ; i++){ } i= { },. i=0 0<9 { } i= <9 { } i=2, 9<9 end

@ - int to char casting public class IntToChar{ } public static void main(string[] args) { } for(int i=2;i<=30;i++){ } System.out.print( (char)i+" "); if(i%0==0){ } System.out.println();

@ Unicode 0 ~ 65536 // 50000 char cc=' '; System.out.println((int)cc); //54620 for(int i=540;i<=55400;i++){ } System.out.print( (char)i+" "); if(i%0==0){ System.out.println(); }

@ int, double byte ba=0; byte bb=20; byte bc=0+20; byte bd=ba+bb; System.out.println(ba); System.out.println(bb); System.out.println(bc); System.out.println(bd); //error int ia=20; int ib=30; long la=40l; long lb=50l; float fa=45.0f; float fb=46.67f; double da=4.5; int ic=(int)(la+lb); float fc=ia+ib; double db=fa+ia;

@ Literal

@ Literal

@ Literal System.out.println("Hello\nMy name is Kildong Hong."); //Hello //My name is. // System.out.println("My Uncles\' book"); //My Uncles' book System.out.println("Hucks\b high."); //Huck high. System.out.println(" (\\) 4."); // (\) 4. System.out.println(" \"."); // ". System.out.println(0xFA); //250 6 System.out.println(0222); //46 8

@ Comment ( )

@ ( ) + -- * // % 45+34 = 79 45-34 = 45*34 = 530 45/34 45%34 x = x + 25; x += 25; x = x - 25; x -= 25; x = x * 25; x *= 25; x = x / 25; x /= 25; x = x % 25; x %= 25; x = x + ; x += ; x ++; ++x;

@ (, ) ==!= < > <= >= & ^ &&!, && short circuit. & vs. && vs.

@ Short-Circuit Test int ca=0, cb=20, cc=-30, cd=5, temp=23; if((temp>ca) (temp=='c')){ System.out.println("!!"); } if((temp>ca) (temp=='c')){ System.out.println(" 2!!"); } if((temp<ca)&(temp=='c')){ System.out.println(" 3!!"); } if((temp<ca)&&(temp=='c')){ System.out.println(" 4!!"); }

@ Logical Operate Test boolean boa=true, boa2=false, bob=true, bob2=false; System.out.println("P Q P&Q P^Q!P"); System.out.print((boa boa)+" "+(boa&boa)+" "+(boa^boa)+" "+(!boa)+"\n"); System.out.print((boa boa2)+" "+(boa&boa2)+" "+(boa^boa2)+" "+(!boa)+"\n"); System.out.print((boa2 boa)+" "+(boa2&boa)+" "+(boa2^boa)+" "+(!boa2)+"\n"); System.out.print((boa2 boa2)+" "+(boa2&boa2)+" "+(boa2^boa2)+" "+(!boa2)+"\n");

@ 2 = + 65-65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ~65-66 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

@ bit (Bitwise ) Exclusive or 65^2=77 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ^ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Bit & 65&2=0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 & 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

@ bit Bit 65 2=77 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 shift >> 65>>3=8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

@ bit shift >> 65>>3=8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 shift << 65<<3=520 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

@ bit shift >> -65>>3=-9 0 0 0 0 0 0 0 shift >>> -65>>>3=536870903 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

@ ( {}, tab ) Short circuit

@ (Tab) space.,...... main (override). 30. continue break. final private.

@

@

@ :: If else

@ :: switch case

@ :: while

@ :: do while

@ :: for

@ :: break, continue, return

@ :: break, continue, return

@ :: break, continue, return

@. ) 00,.