public class VariavleTypes{
public static void main(String[] args){
//1. 논리형(논리형상수)
boolean b1,b2;
b1 = true;
b2 = false;
System.out.println("b1="+b1);
System.out.println("b2="+b2);
//2. 문자형
char munja1,munja2,munja3,munja4;
munja1='A';
munja2='B';
munja3='김';
munja4=44571;
int munja5 = '김'; // < ㅡㅡ?? 숫자를 보여주기위해 int??
System.out.println("munja1="+munja1);
System.out.println("munja2="+munja2);
System.out.println("munja3="+munja3);
System.out.println("munja4="+munja4);
System.out.println("munja5="+munja5);
//3.숫자
// 3-1.정수형
byte b=100;
short s=200;
int i1;
i1 = 1231241241;
long l1 = 2342534243L;
System.out.println("i1="+l1);
// 3-2.실수형
어제 수업시간에 한건대요 ㅎㅎㅎ
빨간색으로 칠한 부분으에 인트형은 숫자로 나타낸다고 선언하는거라고 들었는대
실행해보니 숫자로 나왓어요 그럼 그 숫자뜻은 김이란 글자가 그 숫자가
글자테이블에 저장되어 있는 순번이란 뜻인가요 ? ㅎㅎ
2013년 2월 19일 화요일
피드 구독하기:
댓글 (Atom)
UPBIT is a South Korean company, and people died of suicide cause of coin investment.
UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...
-
프루나는 이제 믿을만한 공유가 안되고 있다. 젠장. 영화 다운 받아보면 전부 야동이나 포르노류 밖에는 없다. 신고되어 있는 자료부터 보지만 신고가 안되어 있는 것은 제대로 다운도 되지 않는다. 이젠 유료 사이트를 믿을 수 밖엔... ...
-
SELinux 불린 값을 이용해서 SELinux.getBooleanValue("xxxx") SELinux.setBooleanValue("xxxx", yyyy); Policy 에도 if 문을 줄...
-
간만에 아침에 운동 갔다가 일하고 나서 피곤한 몸을 이끌고 쓰고 있다. 새벽 4시 50분에 일어났는데 나도 모르게 운동을 하러 나가게 되었다. 막 전역 했을 때 28인치던 내 허리가 지금은 36에 육박한다. 우스운 것이 배만 ...
아스키 코드 유니코드 로 검색해바바바. 처남이 말한게 정확한 뜻이라네~
답글삭제익명 님의 댓글...아스키 코드 유니코드 로 검색해바바바. 처남이 말한게 정확한 뜻이라네~2013년 2월 19일 오전 10:01
답글삭제오옹 넹 쉬는 시간에 보고 잇어요 ㅎ
답글삭제고생이 많네 피곤하면 집으로 오게나
삭제