Java 10일차 1(오브젝트)
클래스 상속은 일대일 관계 인터페이스는 여러개의 다중구현 가능 // Scanner scanner = new Scanner(System.in); // String s = "김준일"; /*language 폴더에 있으면 import 하지 않는다.*/ // Integer integer = 100; /* int 와 동일*/ // System.out.println(integer); 오브젝트 /*모든 클래스는 오브젝트 클래스를 상속 받는다*/ public class StringTest { /*모든 클래스는 오브젝트 클래스를 상속 받는다*/ public static void main(String[] args) { String str = "A"; String str2 = "A"; String str3 = new Stri..
2022.11.23