프로그래밍 언어/Java
-
[Java] Java ?프로그래밍 언어/Java 2024. 7. 22. 21:06
Java란Java는 널리 사용되는 객체지향 프로그래밍 언어로 C++의 장점을 도입하고, 단점을 보완한 언어다. Java의 특징 & 장점1. 이식성'Write once, run anywhere' Java의 제일 큰 특징은 운영체제에 독립적이단 것이다. 기존에는 특정 운영체제에 맞게 개발된 프로그램을 다른 운영체제에서 사용하기 위해선 많은 노력이 필요했다. 하지만, Java는 JVM이라는 운영체제 위에서 동작하는 에뮬레이터를 통해,운영체제나 하드웨어에 관계 없이 실행이 가능하다. 2. 자동 메모리 관리Garbage Collection 자바로 작성된 프로그램이 실행되면, GarbageCollector가 주기적으로 메모리 영역에서 안 쓰는 메모리를 회수해간다.다소 stop The World로 인해 비효율적인 ..