닫기
216.73.216.28
216.73.216.28
close menu
Java 언어에 structure type의 도입
The structure type introduced in Java
이호석(Lee Ho Suk)
UCI I410-ECN-0102-2009-000-007508090

Java 프로그래밍 언어는 general-purpose concurrent object-oriented 언어로 알려져 있다. Java 언어는 개념과 구문 모두가 매우 간결하고 통일되어 있으며 인터넷 환경에서 최대한 활용되도록 하기 위하여 가상기계 개념을 도입하여 목적코드를 생성한다. 프로그래밍 언어에서 가장 중요한 부분이 data type 부분이다. Java 언어는 primitive type과 reference type을 지원한다. Primitive type에는 boolean type과 integral type이 있다. integral type에는 character, byte, short integer, integer, long integer, single-precision 과 double-precision floating point number가 있다. Reference type에는 class type, interface type, array type이 있다. 그러나 Java 언어는 general-purpose 프로그래밍 언어가 일반적으로 지원하는 structure type을 지원하지 않는다. 대신에 class type이 structure type을 포함하여 지원하는 구조로 되어 있다. 그러나 class type과 structure type은 서로 상이한 data type으로 판단된다. 따라서 Java 언어가 general-purpose의 성격을 가지기 위해서는 structure type을 명시적으로 지원하는 것이 바람직하다고 생각된다. 이 논문은 structure type을 Java 언어에 포함시킬 것을 제안한다.

Java is considered a general-purpose concurrent object-oriented programming language. Its syntax is similar to C , but it omits many of the features of C . Java is a strongly typed language. The types of the Java language are divided into two categories : primitive types and reference types. Primitive types are boolean type and integral types. Integral types are byte, short integer, integer, long integer, single-precision and double-precision floating point numbers. Reference types are class types, interface types, array types. Java does not explicitly support structure type which general-purpose programming languages universally support. Instead the class type in itself conceptually incorporates the structure type. Therefore the programmer has to use class type whenever the structure type is considered to be more appropriate for the simple structuring of related data types. But the class type and the structure type are considered to be different data types. So this paper argues that Java must explicitly support the structure type so as to be necessarily considered as a general-purpose programming language.

[자료제공 : 네이버학술정보]
×