블로그
-
자바>>> 조건문 switch
이번엔 switch 조건문에 대해 알아보겠습니다. switch는 한 번에 많은 경우를 처리할 수 있어 유용하다는 장점이 있습니다. 자바 switch문 class Main { public static void main(String[ ] args) { int x = 1 ; swich(x) { case 1 : System.out.println
blog.naver.com · 2026.06.19
-
아무렇게나 c# 정리 노트- [1]
double, else, enum, extern, float, for, goto, if, int, long, return, short, sizeof, static, struct, switch , typeof, void, while C++(19개) : bool, catch, class, false, finally, namespace, new, private, protected
blog.naver.com · 2021.07.18
-
[예시] java 기본법 (4)
public class Ext_Ex_2 { public static void main(String[] args) { // FOR for (int i=0; i < 10; i++) System.out.println(i); i++; } // DO while i = 20; do { System.out.println(i); i++; } while (i < 30); // Switch
blog.naver.com · 2020.10.25
-
Java 4일차
1. class final class: 상속을 허용하지 않는 클래스 public > package > private > protected: 순으로 보안(내재 사용) 조건문 후에 {}가 필수인 것은 아니다. ex) if (a==1) break; 6. switch함수 switch (변수 *조건이 아닌 변.......
blog.naver.com · 2018.07.13
-
18.03.16 Java
import java.util.Scanner; public class B { public static void main(String[] args) { /** /switch문 활용/ int days = 0; Scanner sc = new Scanner(System.in); System.out.println("월 입력"); m = sc.nextInt(); switch
blog.naver.com · 2018.03.16
-
CONTROL DAMPER (Isolation Type)
This damper can be equipped with other device such as Solenoid Valve, Limit Switch, Positioner, etc. (On-Off Function) When damper being closed, normally a certain air leakage class should be required based
blog.naver.com · 2017.05.31
-
[javascript]예약어
자바스크립트의 키워드이므로 변수이름으로 쓰면 안된다. abstract boolean break byte case catch char class const const continue goto if implements import in instanceof int interface long native new null package private super switch
blog.naver.com · 2013.11.27
-
간단한 계산기 구현
.*; public class MainActivity extends Activity { private StringBuffer op1Str = new StringBuffer(); private new StringBuffer(); private int prevOp = -1; private TextView tv; private boolean isFirst = true; class
blog.naver.com · 2013.10.11