Java
-
Conditional OperatorsJava 2022. 2. 5. 14:13
자바의 조건문에서 주로 쓰이는 연산자들에 대해 정리하였습니다. Conditional operators help simplify expressions containing complex boolean relationships by reducing multiple boolean values to a single value: true or false. There's three conditional operators Checks if both provided expressions are truthy. Example) String mood = "sleepy"; int tirednessLevel = 6; if (mood...
-
ConditionalJava 2022. 2. 5. 01:22
자바의 조건문에 대해 정리하였습니다. To make decisions based on circumstances. This means To check a specific condition(s) and perform a task based on the condition(s) if (condition) { // code block } Condition evaluates to true, block runs. Condition evaluates to false, block won't run. Note: Conditional statements do not end in a semicolon. Example) if (number > 12..
-
Class : MethodJava 2022. 2. 4. 23:52
자바의 클래스에서, 메소드에 대한 개념 및 문법을 정리하였습니다.Objects have state(information) and method(behavior).We've seen how to give objects state through instance fields. We're going to learn how to create object behavior using methods.Methods are repeatable, modular blocks of code used to accomplish specific tasks. +. procedural abstraction : knowing what a method does, but not how it accomplishes it.If we were to..
-
Class : IntroductionJava 2022. 2. 3. 18:26
자바의 클래스에 대한 개념 및 문법을 정리하였습니다. Class are created to make a entity for the world. For example, a program to track student test scores might have Student, Course, and Grade classes. An instance of class is called Object. Object have state(information) and method(behavior) For example, each student of the Student class is object. This is object-oriented programming becaus..
-
Variables : ManipulatingJava 2022. 2. 1. 17:08
자바에서 변수를 이용하는 기본적인 방법들을 정리하였습니다. In this post, learn how to manipulate variables of different data types.To manipulate the value of variables, we can use expressions, arithmetic operators, and more in order to change our variables’ values. Example)// declare initial numberdouble number = 20000.99;// declare initial otherNumberdouble otherNumber = 1000.00;// store result of calculation in our or..
-
VariablesJava 2022. 1. 31. 12:06
자바의 변수에 대한 기본 개념 및 문법을 정리하였습니다. To store information, use variables, named location in memory. Storing a information allows us to use that information later, accessing the information we stored. When declare variable, specify the type of information we're storing. There's two main data-types. 1. Primitive Type 2. Non-Primitive Data Types(called Reference Type) < Primitive Data T..
-
IDEJava 2022. 1. 30. 18:49
통합 개발 환경(IDE)에 대해 정리하였습니다. An IDE, or Integrated Development Environment, enables programmers to consolidate the different aspects of writing a computer program. : IDEs increase programmer productivity by combining common activities of writing software into a single application Editing source code Building executables Debugging Writing code is an impor..
-
Hello WorldJava 2022. 1. 30. 17:58
Java언어에 대한 기본 문법 및 개념을 정리하였습니다. Programming languages enable humans to write instructions that a computer can perform. Java is known for being simple, portable, secure, and robust. Though it was released over twenty years ago, Java remains one of the most popular programming languages today. One reason people love Java is the Java Virtual Machine, which ensures the same Java code can be run on d..