[생활코딩_Day4]

Hansol Lee·2021년 7월 30일
0

[생활코딩_java]

목록 보기
4/4

어제오늘에 거친 day4다. 확실히 3일차에서 4일차 넘기기 어렵군
이러다가 작심삼일 무한반복인건가. 그렇게라도 이어나가자.

//괄호로 시작해서 괄호로 끝나는것: method

//이클립스가 대박인점
: Light 치고 ctrl+space바 치면 자동으로 opentutorials.iot추천해줌

프로그래밍을통해서 이렇게 많은일을 자동화 시킬수있구나 하는것!

import org.opentutorials.iot.Elevator;
import org.opentutorials.iot.Lighting;
import org.opentutorials.iot.Security;


public class OKjavaGoInHome {

public static void main(String[] args) {
	
	//Elevator call
	Elevator myElevator =new Elevator("JAVA APT 1803");
	myElevator.callForUp(1);
	
	//Security off
	Security mySecurity =new Security("JAVA APT 1803");
	mySecurity.off();
	//Light on
	Lighting hallLamp=new Lighting("JAVA APT 1803/Hall Lamp");
	hallLamp.on();
	
	Light floorLamp=new Lighting ("JAVA APT 1803/floorLamp");
	floorLamp.on();
	

	}

}

디버거

bug
debug
debugging
debugger

의도하지 않은 버그를 잡는 일:디버깅

IOT internet of things

단순히 기계 끼리 알림을 주고받는다

profile
얼레벌레 항상 성장하고 싶은 컴공생입니다

0개의 댓글