(Pre-class)31 What is the Character Data Type? 1. Character = char2. We need to put a letter for char// No double letter allowed3. We need to use ' ' for char// No double quotation allowed// ex) charBox = 'A';4. Encoding = converting the bytes to the characters// letter to binary// 'A' → 01000001 → 655. Decoding = converting the characters to the bytes// 65 → 'A' ++// Ctrl + Shift + F = Hotkey for Eclipse Auto-alignment// Type 'main', Ctrl +.. 2025. 3. 25. What is the Data Type and Integer? 1. Data Type = Primitive type + Reference type// going to focus on the primitive type for now2. Primitive type = Integer + Float + Character + Boolean// going to focus on the integer for now3. Integer = byte + short + int + long3-1. byte = 1 byte, (-128) ~ 127// 1 byte = 8 bits3-2. short = 2 bytes, (-32768) ~ 327673-3. int = 4 bytes, (-2147483648) ~ 2147483647// around +/- 2.1 billions3-4. long .. 2025. 3. 25. How to setup Eclipse IDE? 1. Select a directory as workspace2. Create a Java Project3. Check "Create module-info.java file" in the Module4. Make a New Package(such as the folder in Windows)5. Make a New Class6. Name as HelloWorld(in CAPITAL!)6-1. Check "public static void main(String[] args)" in "Which method stubs would you like to creat?"7. Good job! You did it!! 2025. 3. 25. What is the Variables? package ch01:// multiple line footnote/ ** * What is the variables? * variable numbers(variable data) * memory space(box) containing the data(value) */public class Variable { // start of the main public static void main(String[] args) { // Three types of using the variables // int // 1. Declaring a variable int ageBox; // Box containing numbers int telBox; // variable named telBox // 2. A.. 2025. 3. 24. What is the OOP? 1. OOP = Object Oriented Programming1-1. A programming paradigm based on the concept of "objects", which contain "data" and "behavior"2. Object = Attributes + Methods2-1. Attributes = Data + Variables2-2. Methods = Functions3. Four Pillars of OOP3-1. Encapsulation3-2. Inheritance3-3. Polymorphism3-4. Abstaction4. Popular OOP languages4-1. Java4-2. Pytho.4-3. C++4-4. C#4-5. JavaScript4-6. Swift 2025. 3. 24. How to install the Eclipse? 1. Eclipse = IDE for Java2. IDE = Intefrated Develpoment Environment3. Go to Eclipse to have install fileEclipse Downloads | The Eclipse Foundation Eclipse Downloads | The Eclipse FoundationThe Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 415 open source projects, including runtimes, tools and frameworks.www.eclipse.org3-1. Install itChoose Eclips IDE for.. 2025. 3. 24. 이전 1 2 3 4 5 6 다음