github

[JAVA]/생활코딩

[생활코딩] 깃허브에서 소스파일 다운 받아서 활용하기

#210707#github#소스파일 1. 순서 1) 깃허브에서 소스파일 압축한 것 다운로드(download.zip) 2) 압축 해제 > 이클립스, 프로젝트 파일로 복붙. 3) import (파일명).(파일명).(원하는소스이름); 을 제일 상단에 선언. 4) 이제 class - main 함수 내에서 (원하는 소스이름) 불러서 사용가능. 2. 활용(ex. IoT 프로그램) import org.opentutorials.iot.Elevator; import org.opentutorials.iot.Lighting; public class OkJavaGoinHome { public static void main(String[] args) { String id = "JAVA APT 507"; // Elevator c..

hatch
'github' 태그의 글 목록