일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- dataframe
- Tkinter
- Google Spreadsheet
- array
- SQL
- Excel
- string
- PostgreSQL
- Github
- Python
- Google Excel
- GIT
- PANDAS
- c#
- Kotlin
- Java
- numpy
- django
- list
- math
- matplotlib
- gas
- google apps script
- 파이썬
- PySpark
- Apache
- Mac
- Redshift
- hive
- Today
- Total
목록분류 전체보기 (832)
달나라 노트
Original source = www.w3schools.com public class JavaMethodParameter { // method 생성 시 parameter를 전달하도록 만들 수 있습니다. // 아래 예시처럼 method name의 오른쪽 괄호 안에 parameter를 생성해주면 됩니다. // parameter는 콤마로 구분하여 몇개든 전달받을 수 있습니다. public static void testMethod(String name) { System.out.println("I am " + name); } public static void main(String args[]) { testMethod("James"); testMethod("Lisa"); } // 위 예시에서 parameter는 ..
만약 class의 개념에 대해 잘 이해되지 않았다면 아래 링크를 먼저 읽으시는걸 추천드립니다. cosmosproject.tistory.com/198 method에 대해 알아봅시다. class를 이용하여 object(객체)를 만들 수 있습니다. 그리고 이 객체는 method와 속성을 가질 수 있습니다. 속성은 해당 객체의 특성값들(변수와 그 값)을 의미하고, method는 해당 객체가 가지는 어떤 기능을 의미합니다. method를 사용하는 이유는 코드를 줄이기 위해서입니다. 프로그램을 만들다 보면 동일한 기능을 여러 번 사용해야해서 동일한 코드를 여러 번 적는 경우가 있습니다. 이런 경우 어떤 기능을 가진 method를 작성해놓고, 해당 기능이 필요할 때 마다 method의 이름만 호출하면 되니까 코드를 ..
Original source = www.w3schools.com public class JavaVariables { public static void main(String args[]) { // Java에서 변수에 값을 할당할 때에는 다음과 같이 합니다. // data_type variable_name = value; // 아래 예시들은 변수를 생성함과 동시에 값을 할당하는 경우들입니다. // 주의할 점은 다음과 같습니다. // 1. char는 딱 한 글자의 문자만 할당할 수 있습니다. // 2. char에 값을 할당할 때에는 큰 따옴표(")가 아닌 작은 따옴표(')를 사용해야 합니다. // 3. String에는 몇 글자의 문자건 할당할 수 있습니다. (공백도 가능) // 4. String에 값을 할당할..
Original source = www.w3schools.com Java의 Datatype은 다음과 같습니다. Data Type Size Description byte 1 byte Stores whole numbers from -128 to 127 short 2 bytes Stores whole numbers from -32,768 to 32,767 int 4 bytes Stores whole numbers from -2,147,483,648 to 2,147,483,647 long 8 bytes Stores whole numbers from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 float 4 bytes Stores fractional numb..