오늘부턴 자바에 대한 모든것을 외워버리겠다는 생각으로 튜터리얼을 써본다.
www.w3schools.com/java/default.asp
public class Myclass {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
티스토리에는 쉬프트탭이 안되는 치명적인 단점이 있따...
앗 요고 내가 생각했던거랑 비슷하네.. 이런 방식이 공부에는 좋음
하다가 나도 모르게 다 풀어버렸네..
www.w3schools.com/java/java_data_types.asp
Java Data Types
Java Data Types Java Data Types As explained in the previous chapter, a variable in Java must be a specified data type: Example int myNum = 5; // Integer (whole number) float myFloatNum = 5.99f; // Floating point number ch
www.w3schools.com
www.w3schools.com/java/java_operators.asp
Java Operators
Java Operators Java Operators Operators are used to perform operations on variables and values. In the example below, we use the + operator to add together two values: Although the + operator is often used to add together two values, like in the example ab
www.w3schools.com
비트연산자
쪽은 다시봐야겠다.
indexOf와 concat 밖에 안가르쳐주는구나
String에는 훨씬더 많은 기술들이 필요하다.
이것도 max, min, sqrt, abs, random 만 갈켜주네. 더 필요한데?
Math.random() returns a random number between 0.0 (inclusive), and 1.0 (exclusive)
int randomNum = (int)(Math.random() * 101); // 0 to 100
여기도 좀 더 기술이 필요하다
정렬, 멀티디멘전 정렬 등
여기까지 기초는 끝나고,
Java의 꽃인 Java classes 로 넘어간다.
다음 포스팅으로..
www.w3schools.com/java/java_oop.asp
Java OOP (Object-Oriented Programming)
Java OOP Java - What is OOP? OOP stands for Object-Oriented Programming. Procedural programming is about writing procedures or methods that perform operations on the data, while object-oriented programming is about creating objects that contain both data a
www.w3schools.com
내 블로그 - 관리자 홈 전환 |
Q
Q
|
---|---|
새 글 쓰기 |
W
W
|
글 수정 (권한 있는 경우) |
E
E
|
---|---|
댓글 영역으로 이동 |
C
C
|
이 페이지의 URL 복사 |
S
S
|
---|---|
맨 위로 이동 |
T
T
|
티스토리 홈 이동 |
H
H
|
단축키 안내 |
Shift + /
⇧ + /
|
* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.