SlideShare a Scribd company logo
1 of 2
Download to read offline
1. 다음 중 자바언어의 특징이 아닌 것은?
(1) JVM
(2) GC
(3) bytecode
(4) Pointer
(5) OOP
2. 자바 프로그램이 처음 실행하는 메소드의 정의가
바른 것은?
(1) void main(String[] args)
(2) public static void main(String[] args)
(3) public void Main(String args)
(4) public static int main(String[] args)
(5) public void main(String[] args)
3. 다음 중 객체지향프로그래밍의 요소가 아닌 것은?
(1) Thread
(2) Encapsulation
(3) Inheritance
(4) Polymorphism
(5) Abstraction
4. 다음 중 지정하지 않아도 자동으로 임포트 되는 패
키지는?
(1) java.io
(2) java.util
(3) java.lang
(4) javax.swing
(5) java.net
5. 다음 중 변수 선언이 올바른 것은?
(1) int _a = 10;
(2) float $f = 3.0;
(3) String 3s = “text”;
(4) double b* = 1.0;
(5) char ch = “a”;
6. 다음 중 자바 언어에서 사용하는 키워드가 아닌 것
은?
(1) synchronized
(2) throws
(3) static
(4) goto
(5) struct
7. 다음의 실행 결과는?
public class Test {
public static void main(String[]args) {
String str= NULL;
System.out.println(str);
}
}
(1) (none)
(2) null
(3) NULL
(2) 컴파일 에러
(3) 런타임 에러
8. 배열의 크기를 얻을 수 있는 방법은?
int[] array = { 1, 2, 3, 4, 5 };
(1) array.getLength();
(2) array.length()
(3) array.length
(4) array.size()
(5) array.len
9. 다음 메소드의 overloading 으로 올바르지 않은 것
은?
public void method();
(1) public void method(int n);
(2) public int method();
(3) public void method(int n, int m);
(4) private void method(int n);
(5) private void method(int n, int m);
10. 생성자에 대한 설명 중 틀린 것은?
(1) 생성자를 지정하지 않아도 기본 생성자를 사용할 수
있다
(2) 생성자는 Overload 하여 여러 개 생성이 가능하다
(3) 생성자 내에서 동일 클래스의 생성자를 호출할 수 있
다
(4) 생성자 내에서 부코 클래스의 생성자를 호출할 수 있
다
(5) 상속된 클래스는 부모 클래스의 생성자 모두가 상속
된다
Java Programming Language 이름 :
11. 다음 프로그램의 실행 결과는?
String a= “abc”;
String b= “abc”;
if(a == b) System.out.println(“TRUE”);
else System.out.println(“FALSE”);
(1) TRUE
(2) FALSE
(3) (none)
(4) Compile error
(5) Runtime error
12. 다음 프로그램의 실행 결과는?
public class Exam {
pubic static void main(String[] args) {
if(three() == five()) {
System.out.println(“TRUE”);
}
}
public int three() {
System.out.println(“3”);
return 3;
}
public int five() {
System.out.println(“5”);
return 5;
}
}
(1) 3 5 TRUE
(2) 5 3 TRUE
(3) 3
(4) Compile error
(5) Runtime error
13. 다음 코드의 설명 중 옳은 것은?
public static void main(String[] args) {
try {
Integer i = 10;
} finally {
System.out.println(i);
}
}
(1) catch 문이 없기 때문에 compile error 이다.
(2) Integer Object형 변수에 primitive 값을 입력
했기 때문에 compile error이다.
(3) finally 에서 i 변수를 읽을 수 없기 때문에
compile error 이다.
(4) println 메소드의 파라미터로 String이 아닌 int
가 전달됐기 때문에 compile error이다.
(5) java.lang 을 import 하지 않았기 때문에
compile error 이다.
14. 다음 Collection 중에서 List interface 를 구현하
지 않는 것은?
(1) ArrayList
(2) LinkedList
(3) Stack
(4) Tree
(5) Vector
15. Multi-Thread 환경에서 동기화를 지원하는 메소드
의 정의시에 사용하는 키워드는?
(1) abstract
(2) synchronized
(3) volatile
(4) static
(5) transient
16. Network Client 프로그램을 만들기 위해서 TCP를
사용하는 클래스는?
(1) DataOutputStream
(2) DataInputStream
(3) Datagram
(4) SocketServer
(5) Socket
17. Primitive Type 변수가 Wrapper Object Type 으
로 자동 형 변환 되는 기능을 무엇이하고 하는가?
18. .java 파일을 컴파일 한 결과로 .class 파일에 저장
되어 VM에 의해 인터프리트 방식으로 실행되는 것은
무엇인가?
19. /** */ 형태의 주석을 사용하여 java api
document 문서와 같은 형식으로 문서를 생성해주는
도구를 무엇이라 하는가?
20. Swing에서 사용하는 프로그램 설계로써 데이터,
화면, 흐름제어를 담당하는 영역을 구분하여 의존성
없이 개발될 수 있도록 하는 설계 방식을 무엇이라 하
는가?
수고하셨습니다.

More Related Content

What's hot

[C++ Korea] Effective Modern C++ Study, Item 1 - 3
[C++ Korea] Effective Modern C++ Study, Item 1 - 3[C++ Korea] Effective Modern C++ Study, Item 1 - 3
[C++ Korea] Effective Modern C++ Study, Item 1 - 3Chris Ohk
 
[C++ Korea 3rd Seminar] 새 C++은 새 Visual Studio에, 좌충우돌 마이그레이션 이야기
[C++ Korea 3rd Seminar] 새 C++은 새 Visual Studio에, 좌충우돌 마이그레이션 이야기[C++ Korea 3rd Seminar] 새 C++은 새 Visual Studio에, 좌충우돌 마이그레이션 이야기
[C++ Korea 3rd Seminar] 새 C++은 새 Visual Studio에, 좌충우돌 마이그레이션 이야기Chris Ohk
 
[C++ Korea] Effective Modern C++ MVA item 9 Prefer alias declarations to type...
[C++ Korea] Effective Modern C++ MVA item 9 Prefer alias declarations to type...[C++ Korea] Effective Modern C++ MVA item 9 Prefer alias declarations to type...
[C++ Korea] Effective Modern C++ MVA item 9 Prefer alias declarations to type...Seok-joon Yun
 
김재석, C++ 게임 개발자를 위한 c# 활용 기법, 월간 마이크로소프트웨어 창간 28주년 기념 C++ 개발자를 위한 게임 프로그래밍 실전...
김재석, C++ 게임 개발자를 위한 c# 활용 기법, 월간 마이크로소프트웨어 창간 28주년 기념 C++ 개발자를 위한 게임 프로그래밍 실전...김재석, C++ 게임 개발자를 위한 c# 활용 기법, 월간 마이크로소프트웨어 창간 28주년 기념 C++ 개발자를 위한 게임 프로그래밍 실전...
김재석, C++ 게임 개발자를 위한 c# 활용 기법, 월간 마이크로소프트웨어 창간 28주년 기념 C++ 개발자를 위한 게임 프로그래밍 실전...devCAT Studio, NEXON
 
[C++ korea] effective modern c++ study item8~10 정은식
[C++ korea] effective modern c++ study item8~10 정은식[C++ korea] effective modern c++ study item8~10 정은식
[C++ korea] effective modern c++ study item8~10 정은식은식 정
 
[C++ korea] effective modern c++ study item 17 19 신촌 study
[C++ korea] effective modern c++ study item 17 19 신촌 study[C++ korea] effective modern c++ study item 17 19 신촌 study
[C++ korea] effective modern c++ study item 17 19 신촌 studySeok-joon Yun
 
[Pl in c++] 9. 다형성
[Pl in c++] 9. 다형성[Pl in c++] 9. 다형성
[Pl in c++] 9. 다형성MinGeun Park
 
불어오는 변화의 바람, From c++98 to c++11, 14
불어오는 변화의 바람, From c++98 to c++11, 14 불어오는 변화의 바람, From c++98 to c++11, 14
불어오는 변화의 바람, From c++98 to c++11, 14 명신 김
 
Kth개발자 세미나 1회
Kth개발자 세미나 1회Kth개발자 세미나 1회
Kth개발자 세미나 1회Byeongsu Kang
 
[C++ korea] effective modern c++ study item 7 distinguish between () and {} w...
[C++ korea] effective modern c++ study item 7 distinguish between () and {} w...[C++ korea] effective modern c++ study item 7 distinguish between () and {} w...
[C++ korea] effective modern c++ study item 7 distinguish between () and {} w...Seok-joon Yun
 
C++17 Key Features Summary - Ver 2
C++17 Key Features Summary - Ver 2C++17 Key Features Summary - Ver 2
C++17 Key Features Summary - Ver 2Chris Ohk
 
[C++ korea] effective modern c++ study item 2 understanding auto type deduc...
[C++ korea] effective modern c++ study   item 2 understanding auto type deduc...[C++ korea] effective modern c++ study   item 2 understanding auto type deduc...
[C++ korea] effective modern c++ study item 2 understanding auto type deduc...Seok-joon Yun
 
[2012 02 03]clean_code 5장
[2012 02 03]clean_code 5장[2012 02 03]clean_code 5장
[2012 02 03]clean_code 5장Jong Pil Won
 
C++ 타입 추론
C++ 타입 추론C++ 타입 추론
C++ 타입 추론Huey Park
 
C++20 Key Features Summary
C++20 Key Features SummaryC++20 Key Features Summary
C++20 Key Features SummaryChris Ohk
 
Dependency hell과 빌드지옥 탈출
Dependency hell과 빌드지옥 탈출Dependency hell과 빌드지옥 탈출
Dependency hell과 빌드지옥 탈출Byeongsu Kang
 

What's hot (17)

[C++ Korea] Effective Modern C++ Study, Item 1 - 3
[C++ Korea] Effective Modern C++ Study, Item 1 - 3[C++ Korea] Effective Modern C++ Study, Item 1 - 3
[C++ Korea] Effective Modern C++ Study, Item 1 - 3
 
[C++ Korea 3rd Seminar] 새 C++은 새 Visual Studio에, 좌충우돌 마이그레이션 이야기
[C++ Korea 3rd Seminar] 새 C++은 새 Visual Studio에, 좌충우돌 마이그레이션 이야기[C++ Korea 3rd Seminar] 새 C++은 새 Visual Studio에, 좌충우돌 마이그레이션 이야기
[C++ Korea 3rd Seminar] 새 C++은 새 Visual Studio에, 좌충우돌 마이그레이션 이야기
 
[C++ Korea] Effective Modern C++ MVA item 9 Prefer alias declarations to type...
[C++ Korea] Effective Modern C++ MVA item 9 Prefer alias declarations to type...[C++ Korea] Effective Modern C++ MVA item 9 Prefer alias declarations to type...
[C++ Korea] Effective Modern C++ MVA item 9 Prefer alias declarations to type...
 
김재석, C++ 게임 개발자를 위한 c# 활용 기법, 월간 마이크로소프트웨어 창간 28주년 기념 C++ 개발자를 위한 게임 프로그래밍 실전...
김재석, C++ 게임 개발자를 위한 c# 활용 기법, 월간 마이크로소프트웨어 창간 28주년 기념 C++ 개발자를 위한 게임 프로그래밍 실전...김재석, C++ 게임 개발자를 위한 c# 활용 기법, 월간 마이크로소프트웨어 창간 28주년 기념 C++ 개발자를 위한 게임 프로그래밍 실전...
김재석, C++ 게임 개발자를 위한 c# 활용 기법, 월간 마이크로소프트웨어 창간 28주년 기념 C++ 개발자를 위한 게임 프로그래밍 실전...
 
[C++ korea] effective modern c++ study item8~10 정은식
[C++ korea] effective modern c++ study item8~10 정은식[C++ korea] effective modern c++ study item8~10 정은식
[C++ korea] effective modern c++ study item8~10 정은식
 
[C++ korea] effective modern c++ study item 17 19 신촌 study
[C++ korea] effective modern c++ study item 17 19 신촌 study[C++ korea] effective modern c++ study item 17 19 신촌 study
[C++ korea] effective modern c++ study item 17 19 신촌 study
 
[Pl in c++] 9. 다형성
[Pl in c++] 9. 다형성[Pl in c++] 9. 다형성
[Pl in c++] 9. 다형성
 
불어오는 변화의 바람, From c++98 to c++11, 14
불어오는 변화의 바람, From c++98 to c++11, 14 불어오는 변화의 바람, From c++98 to c++11, 14
불어오는 변화의 바람, From c++98 to c++11, 14
 
Kth개발자 세미나 1회
Kth개발자 세미나 1회Kth개발자 세미나 1회
Kth개발자 세미나 1회
 
[C++ korea] effective modern c++ study item 7 distinguish between () and {} w...
[C++ korea] effective modern c++ study item 7 distinguish between () and {} w...[C++ korea] effective modern c++ study item 7 distinguish between () and {} w...
[C++ korea] effective modern c++ study item 7 distinguish between () and {} w...
 
C++17 Key Features Summary - Ver 2
C++17 Key Features Summary - Ver 2C++17 Key Features Summary - Ver 2
C++17 Key Features Summary - Ver 2
 
[C++ korea] effective modern c++ study item 2 understanding auto type deduc...
[C++ korea] effective modern c++ study   item 2 understanding auto type deduc...[C++ korea] effective modern c++ study   item 2 understanding auto type deduc...
[C++ korea] effective modern c++ study item 2 understanding auto type deduc...
 
[2012 02 03]clean_code 5장
[2012 02 03]clean_code 5장[2012 02 03]clean_code 5장
[2012 02 03]clean_code 5장
 
C++ 타입 추론
C++ 타입 추론C++ 타입 추론
C++ 타입 추론
 
C++20 Key Features Summary
C++20 Key Features SummaryC++20 Key Features Summary
C++20 Key Features Summary
 
Dependency hell과 빌드지옥 탈출
Dependency hell과 빌드지옥 탈출Dependency hell과 빌드지옥 탈출
Dependency hell과 빌드지옥 탈출
 
17 2 필터함수와 맵함수
17 2 필터함수와 맵함수17 2 필터함수와 맵함수
17 2 필터함수와 맵함수
 

Viewers also liked

스크래치로 시작하는 코딩
스크래치로 시작하는 코딩스크래치로 시작하는 코딩
스크래치로 시작하는 코딩Chiwon Song
 
[1] IoT와 아두이노
[1] IoT와 아두이노[1] IoT와 아두이노
[1] IoT와 아두이노Chiwon Song
 
Startup Fundraising 101 Revisited
Startup Fundraising 101 RevisitedStartup Fundraising 101 Revisited
Startup Fundraising 101 RevisitedBernard Moon
 
2016 SparkLabs Global Year-End Review
2016 SparkLabs Global Year-End Review2016 SparkLabs Global Year-End Review
2016 SparkLabs Global Year-End ReviewBernard Moon
 
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...WSO2
 
WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...
WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...
WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...WSO2
 
WSO2Con USA 2017: DevOps Best Practices in 7 Steps
WSO2Con USA 2017: DevOps Best Practices in 7 StepsWSO2Con USA 2017: DevOps Best Practices in 7 Steps
WSO2Con USA 2017: DevOps Best Practices in 7 StepsWSO2
 
IoT에게 4차산업혁명과 고용의 실마리를 묻다 20170223 김선영
IoT에게 4차산업혁명과 고용의 실마리를 묻다 20170223 김선영IoT에게 4차산업혁명과 고용의 실마리를 묻다 20170223 김선영
IoT에게 4차산업혁명과 고용의 실마리를 묻다 20170223 김선영sy kim
 
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...WSO2
 
WSO2Con USA 2017: Building Enterprise Grade IoT Architectures for Digital Tra...
WSO2Con USA 2017: Building Enterprise Grade IoT Architectures for Digital Tra...WSO2Con USA 2017: Building Enterprise Grade IoT Architectures for Digital Tra...
WSO2Con USA 2017: Building Enterprise Grade IoT Architectures for Digital Tra...WSO2
 
[BLT] SNS를 통한 컨텐츠 마케팅의 기초 shawn 2017.02.27_v1.0
[BLT] SNS를 통한 컨텐츠 마케팅의 기초 shawn 2017.02.27_v1.0[BLT] SNS를 통한 컨텐츠 마케팅의 기초 shawn 2017.02.27_v1.0
[BLT] SNS를 통한 컨텐츠 마케팅의 기초 shawn 2017.02.27_v1.0JEONG HAN Eom
 
Global Technology Trends & Top Ten Startup Hubs 2016
Global Technology Trends & Top Ten Startup Hubs 2016Global Technology Trends & Top Ten Startup Hubs 2016
Global Technology Trends & Top Ten Startup Hubs 2016Bernard Moon
 
Internet of Things & Hardware Industry Report 2016
Internet of Things & Hardware Industry Report 2016Internet of Things & Hardware Industry Report 2016
Internet of Things & Hardware Industry Report 2016Bernard Moon
 

Viewers also liked (13)

스크래치로 시작하는 코딩
스크래치로 시작하는 코딩스크래치로 시작하는 코딩
스크래치로 시작하는 코딩
 
[1] IoT와 아두이노
[1] IoT와 아두이노[1] IoT와 아두이노
[1] IoT와 아두이노
 
Startup Fundraising 101 Revisited
Startup Fundraising 101 RevisitedStartup Fundraising 101 Revisited
Startup Fundraising 101 Revisited
 
2016 SparkLabs Global Year-End Review
2016 SparkLabs Global Year-End Review2016 SparkLabs Global Year-End Review
2016 SparkLabs Global Year-End Review
 
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
 
WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...
WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...
WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...
 
WSO2Con USA 2017: DevOps Best Practices in 7 Steps
WSO2Con USA 2017: DevOps Best Practices in 7 StepsWSO2Con USA 2017: DevOps Best Practices in 7 Steps
WSO2Con USA 2017: DevOps Best Practices in 7 Steps
 
IoT에게 4차산업혁명과 고용의 실마리를 묻다 20170223 김선영
IoT에게 4차산업혁명과 고용의 실마리를 묻다 20170223 김선영IoT에게 4차산업혁명과 고용의 실마리를 묻다 20170223 김선영
IoT에게 4차산업혁명과 고용의 실마리를 묻다 20170223 김선영
 
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...
 
WSO2Con USA 2017: Building Enterprise Grade IoT Architectures for Digital Tra...
WSO2Con USA 2017: Building Enterprise Grade IoT Architectures for Digital Tra...WSO2Con USA 2017: Building Enterprise Grade IoT Architectures for Digital Tra...
WSO2Con USA 2017: Building Enterprise Grade IoT Architectures for Digital Tra...
 
[BLT] SNS를 통한 컨텐츠 마케팅의 기초 shawn 2017.02.27_v1.0
[BLT] SNS를 통한 컨텐츠 마케팅의 기초 shawn 2017.02.27_v1.0[BLT] SNS를 통한 컨텐츠 마케팅의 기초 shawn 2017.02.27_v1.0
[BLT] SNS를 통한 컨텐츠 마케팅의 기초 shawn 2017.02.27_v1.0
 
Global Technology Trends & Top Ten Startup Hubs 2016
Global Technology Trends & Top Ten Startup Hubs 2016Global Technology Trends & Top Ten Startup Hubs 2016
Global Technology Trends & Top Ten Startup Hubs 2016
 
Internet of Things & Hardware Industry Report 2016
Internet of Things & Hardware Industry Report 2016Internet of Things & Hardware Industry Report 2016
Internet of Things & Hardware Industry Report 2016
 

Similar to Java programming language test

Java Virtual Machine, Call stack, Java Byte Code
Java Virtual Machine, Call stack, Java Byte CodeJava Virtual Machine, Call stack, Java Byte Code
Java Virtual Machine, Call stack, Java Byte CodeJavajigi Jaesung
 
About Visual C++ 10
About  Visual C++ 10About  Visual C++ 10
About Visual C++ 10흥배 최
 
Java mentoring of samsung scsc 2
Java mentoring of samsung scsc   2Java mentoring of samsung scsc   2
Java mentoring of samsung scsc 2도현 김
 
[Gpg2권 조진현] 1.2 인라인 함수 대 매크로
[Gpg2권 조진현] 1.2 인라인 함수 대 매크로[Gpg2권 조진현] 1.2 인라인 함수 대 매크로
[Gpg2권 조진현] 1.2 인라인 함수 대 매크로진현 조
 
[1B4]안드로이드 동시성_프로그래밍
[1B4]안드로이드 동시성_프로그래밍[1B4]안드로이드 동시성_프로그래밍
[1B4]안드로이드 동시성_프로그래밍NAVER D2
 
C++ 프로그래밍 2014-2018년 기말시험 기출문제
C++ 프로그래밍 2014-2018년 기말시험 기출문제C++ 프로그래밍 2014-2018년 기말시험 기출문제
C++ 프로그래밍 2014-2018년 기말시험 기출문제Lee Sang-Ho
 
임베디드 시스템 설계 프로젝트: EMPOS-II를 활용한 영어단어 학습기
임베디드 시스템 설계 프로젝트: EMPOS-II를 활용한 영어단어 학습기임베디드 시스템 설계 프로젝트: EMPOS-II를 활용한 영어단어 학습기
임베디드 시스템 설계 프로젝트: EMPOS-II를 활용한 영어단어 학습기Daegi Kim
 
사례를 통해 살펴보는 프로파일링과 최적화 NDC2013
사례를 통해 살펴보는 프로파일링과 최적화 NDC2013사례를 통해 살펴보는 프로파일링과 최적화 NDC2013
사례를 통해 살펴보는 프로파일링과 최적화 NDC2013Esun Kim
 
SpringCamp 2013 : About Jdk8
SpringCamp 2013 : About Jdk8SpringCamp 2013 : About Jdk8
SpringCamp 2013 : About Jdk8Sangmin Lee
 
KGC2010 - 낡은 코드에 단위테스트 넣기
KGC2010 - 낡은 코드에 단위테스트 넣기KGC2010 - 낡은 코드에 단위테스트 넣기
KGC2010 - 낡은 코드에 단위테스트 넣기Ryan Park
 
Google Protocol buffer
Google Protocol bufferGoogle Protocol buffer
Google Protocol bufferknight1128
 
Clean code
Clean codeClean code
Clean codebbongcsu
 
[TechDays Korea 2015] 녹슨 C++ 코드에 모던 C++로 기름칠하기
[TechDays Korea 2015] 녹슨 C++ 코드에 모던 C++로 기름칠하기[TechDays Korea 2015] 녹슨 C++ 코드에 모던 C++로 기름칠하기
[TechDays Korea 2015] 녹슨 C++ 코드에 모던 C++로 기름칠하기Chris Ohk
 
[Td 2015]녹슨 c++ 코드에 모던 c++로 기름칠하기(옥찬호)
[Td 2015]녹슨 c++ 코드에 모던 c++로 기름칠하기(옥찬호)[Td 2015]녹슨 c++ 코드에 모던 c++로 기름칠하기(옥찬호)
[Td 2015]녹슨 c++ 코드에 모던 c++로 기름칠하기(옥찬호)Sang Don Kim
 
[D2 오픈세미나]5.robolectric 안드로이드 테스팅
[D2 오픈세미나]5.robolectric 안드로이드 테스팅[D2 오픈세미나]5.robolectric 안드로이드 테스팅
[D2 오픈세미나]5.robolectric 안드로이드 테스팅NAVER D2
 
공유 Jdk 7-2-project coin
공유 Jdk 7-2-project coin공유 Jdk 7-2-project coin
공유 Jdk 7-2-project coinknight1128
 
우아하게 준비하는 테스트와 리팩토링 - PyCon Korea 2018
우아하게 준비하는 테스트와 리팩토링 - PyCon Korea 2018우아하게 준비하는 테스트와 리팩토링 - PyCon Korea 2018
우아하게 준비하는 테스트와 리팩토링 - PyCon Korea 2018Kenneth Ceyer
 

Similar to Java programming language test (20)

Java Virtual Machine, Call stack, Java Byte Code
Java Virtual Machine, Call stack, Java Byte CodeJava Virtual Machine, Call stack, Java Byte Code
Java Virtual Machine, Call stack, Java Byte Code
 
About Visual C++ 10
About  Visual C++ 10About  Visual C++ 10
About Visual C++ 10
 
Java mentoring of samsung scsc 2
Java mentoring of samsung scsc   2Java mentoring of samsung scsc   2
Java mentoring of samsung scsc 2
 
[Gpg2권 조진현] 1.2 인라인 함수 대 매크로
[Gpg2권 조진현] 1.2 인라인 함수 대 매크로[Gpg2권 조진현] 1.2 인라인 함수 대 매크로
[Gpg2권 조진현] 1.2 인라인 함수 대 매크로
 
Java8 람다
Java8 람다Java8 람다
Java8 람다
 
[1B4]안드로이드 동시성_프로그래밍
[1B4]안드로이드 동시성_프로그래밍[1B4]안드로이드 동시성_프로그래밍
[1B4]안드로이드 동시성_프로그래밍
 
C++ 프로그래밍 2014-2018년 기말시험 기출문제
C++ 프로그래밍 2014-2018년 기말시험 기출문제C++ 프로그래밍 2014-2018년 기말시험 기출문제
C++ 프로그래밍 2014-2018년 기말시험 기출문제
 
JDK 변천사
JDK 변천사JDK 변천사
JDK 변천사
 
임베디드 시스템 설계 프로젝트: EMPOS-II를 활용한 영어단어 학습기
임베디드 시스템 설계 프로젝트: EMPOS-II를 활용한 영어단어 학습기임베디드 시스템 설계 프로젝트: EMPOS-II를 활용한 영어단어 학습기
임베디드 시스템 설계 프로젝트: EMPOS-II를 활용한 영어단어 학습기
 
사례를 통해 살펴보는 프로파일링과 최적화 NDC2013
사례를 통해 살펴보는 프로파일링과 최적화 NDC2013사례를 통해 살펴보는 프로파일링과 최적화 NDC2013
사례를 통해 살펴보는 프로파일링과 최적화 NDC2013
 
SpringCamp 2013 : About Jdk8
SpringCamp 2013 : About Jdk8SpringCamp 2013 : About Jdk8
SpringCamp 2013 : About Jdk8
 
KGC2010 - 낡은 코드에 단위테스트 넣기
KGC2010 - 낡은 코드에 단위테스트 넣기KGC2010 - 낡은 코드에 단위테스트 넣기
KGC2010 - 낡은 코드에 단위테스트 넣기
 
Google Protocol buffer
Google Protocol bufferGoogle Protocol buffer
Google Protocol buffer
 
Clean code
Clean codeClean code
Clean code
 
Java the good parts
Java the good partsJava the good parts
Java the good parts
 
[TechDays Korea 2015] 녹슨 C++ 코드에 모던 C++로 기름칠하기
[TechDays Korea 2015] 녹슨 C++ 코드에 모던 C++로 기름칠하기[TechDays Korea 2015] 녹슨 C++ 코드에 모던 C++로 기름칠하기
[TechDays Korea 2015] 녹슨 C++ 코드에 모던 C++로 기름칠하기
 
[Td 2015]녹슨 c++ 코드에 모던 c++로 기름칠하기(옥찬호)
[Td 2015]녹슨 c++ 코드에 모던 c++로 기름칠하기(옥찬호)[Td 2015]녹슨 c++ 코드에 모던 c++로 기름칠하기(옥찬호)
[Td 2015]녹슨 c++ 코드에 모던 c++로 기름칠하기(옥찬호)
 
[D2 오픈세미나]5.robolectric 안드로이드 테스팅
[D2 오픈세미나]5.robolectric 안드로이드 테스팅[D2 오픈세미나]5.robolectric 안드로이드 테스팅
[D2 오픈세미나]5.robolectric 안드로이드 테스팅
 
공유 Jdk 7-2-project coin
공유 Jdk 7-2-project coin공유 Jdk 7-2-project coin
공유 Jdk 7-2-project coin
 
우아하게 준비하는 테스트와 리팩토링 - PyCon Korea 2018
우아하게 준비하는 테스트와 리팩토링 - PyCon Korea 2018우아하게 준비하는 테스트와 리팩토링 - PyCon Korea 2018
우아하게 준비하는 테스트와 리팩토링 - PyCon Korea 2018
 

More from Chiwon Song

20240330_고급진 코드를 위한 exception 다루기
20240330_고급진 코드를 위한 exception 다루기20240330_고급진 코드를 위한 exception 다루기
20240330_고급진 코드를 위한 exception 다루기Chiwon Song
 
요즘 유행하는 AI 나도 해보자 (feat. CoreML)
요즘 유행하는 AI 나도 해보자 (feat. CoreML)요즘 유행하는 AI 나도 해보자 (feat. CoreML)
요즘 유행하는 AI 나도 해보자 (feat. CoreML)Chiwon Song
 
20220716_만들면서 느껴보는 POP
20220716_만들면서 느껴보는 POP20220716_만들면서 느껴보는 POP
20220716_만들면서 느껴보는 POPChiwon Song
 
20210812 컴퓨터는 어떻게 동작하는가?
20210812 컴퓨터는 어떻게 동작하는가?20210812 컴퓨터는 어떻게 동작하는가?
20210812 컴퓨터는 어떻게 동작하는가?Chiwon Song
 
20201121 코드 삼분지계
20201121 코드 삼분지계20201121 코드 삼분지계
20201121 코드 삼분지계Chiwon Song
 
20200815 inversions
20200815 inversions20200815 inversions
20200815 inversionsChiwon Song
 
20191116 custom operators in swift
20191116 custom operators in swift20191116 custom operators in swift
20191116 custom operators in swiftChiwon Song
 
[20190601] 직업훈련교사_수업의실행_교안
[20190601] 직업훈련교사_수업의실행_교안[20190601] 직업훈련교사_수업의실행_교안
[20190601] 직업훈련교사_수업의실행_교안Chiwon Song
 
[20190601] 직업훈련교사_수업의실행
[20190601] 직업훈련교사_수업의실행[20190601] 직업훈련교사_수업의실행
[20190601] 직업훈련교사_수업의실행Chiwon Song
 
20190330 immutable data
20190330 immutable data20190330 immutable data
20190330 immutable dataChiwon Song
 
20190306 만들면서 배우는 IoT / IoT의 이해
20190306 만들면서 배우는 IoT / IoT의 이해20190306 만들면서 배우는 IoT / IoT의 이해
20190306 만들면서 배우는 IoT / IoT의 이해Chiwon Song
 
20181020 advanced higher-order function
20181020 advanced higher-order function20181020 advanced higher-order function
20181020 advanced higher-order functionChiwon Song
 
20180721 code defragment
20180721 code defragment20180721 code defragment
20180721 code defragmentChiwon Song
 
20180310 functional programming
20180310 functional programming20180310 functional programming
20180310 functional programmingChiwon Song
 
20171104 FRP 패러다임
20171104 FRP 패러다임20171104 FRP 패러다임
20171104 FRP 패러다임Chiwon Song
 
메이커운동과 아두이노
메이커운동과 아두이노메이커운동과 아두이노
메이커운동과 아두이노Chiwon Song
 
아두이노 RC카 만들기
아두이노 RC카 만들기아두이노 RC카 만들기
아두이노 RC카 만들기Chiwon Song
 
[5] 아두이노로 만드는 IoT
[5] 아두이노로 만드는 IoT[5] 아두이노로 만드는 IoT
[5] 아두이노로 만드는 IoTChiwon Song
 
[4] 아두이노와 인터넷
[4] 아두이노와 인터넷[4] 아두이노와 인터넷
[4] 아두이노와 인터넷Chiwon Song
 
[2] 아두이노 활용 실습
[2] 아두이노 활용 실습[2] 아두이노 활용 실습
[2] 아두이노 활용 실습Chiwon Song
 

More from Chiwon Song (20)

20240330_고급진 코드를 위한 exception 다루기
20240330_고급진 코드를 위한 exception 다루기20240330_고급진 코드를 위한 exception 다루기
20240330_고급진 코드를 위한 exception 다루기
 
요즘 유행하는 AI 나도 해보자 (feat. CoreML)
요즘 유행하는 AI 나도 해보자 (feat. CoreML)요즘 유행하는 AI 나도 해보자 (feat. CoreML)
요즘 유행하는 AI 나도 해보자 (feat. CoreML)
 
20220716_만들면서 느껴보는 POP
20220716_만들면서 느껴보는 POP20220716_만들면서 느껴보는 POP
20220716_만들면서 느껴보는 POP
 
20210812 컴퓨터는 어떻게 동작하는가?
20210812 컴퓨터는 어떻게 동작하는가?20210812 컴퓨터는 어떻게 동작하는가?
20210812 컴퓨터는 어떻게 동작하는가?
 
20201121 코드 삼분지계
20201121 코드 삼분지계20201121 코드 삼분지계
20201121 코드 삼분지계
 
20200815 inversions
20200815 inversions20200815 inversions
20200815 inversions
 
20191116 custom operators in swift
20191116 custom operators in swift20191116 custom operators in swift
20191116 custom operators in swift
 
[20190601] 직업훈련교사_수업의실행_교안
[20190601] 직업훈련교사_수업의실행_교안[20190601] 직업훈련교사_수업의실행_교안
[20190601] 직업훈련교사_수업의실행_교안
 
[20190601] 직업훈련교사_수업의실행
[20190601] 직업훈련교사_수업의실행[20190601] 직업훈련교사_수업의실행
[20190601] 직업훈련교사_수업의실행
 
20190330 immutable data
20190330 immutable data20190330 immutable data
20190330 immutable data
 
20190306 만들면서 배우는 IoT / IoT의 이해
20190306 만들면서 배우는 IoT / IoT의 이해20190306 만들면서 배우는 IoT / IoT의 이해
20190306 만들면서 배우는 IoT / IoT의 이해
 
20181020 advanced higher-order function
20181020 advanced higher-order function20181020 advanced higher-order function
20181020 advanced higher-order function
 
20180721 code defragment
20180721 code defragment20180721 code defragment
20180721 code defragment
 
20180310 functional programming
20180310 functional programming20180310 functional programming
20180310 functional programming
 
20171104 FRP 패러다임
20171104 FRP 패러다임20171104 FRP 패러다임
20171104 FRP 패러다임
 
메이커운동과 아두이노
메이커운동과 아두이노메이커운동과 아두이노
메이커운동과 아두이노
 
아두이노 RC카 만들기
아두이노 RC카 만들기아두이노 RC카 만들기
아두이노 RC카 만들기
 
[5] 아두이노로 만드는 IoT
[5] 아두이노로 만드는 IoT[5] 아두이노로 만드는 IoT
[5] 아두이노로 만드는 IoT
 
[4] 아두이노와 인터넷
[4] 아두이노와 인터넷[4] 아두이노와 인터넷
[4] 아두이노와 인터넷
 
[2] 아두이노 활용 실습
[2] 아두이노 활용 실습[2] 아두이노 활용 실습
[2] 아두이노 활용 실습
 

Java programming language test

  • 1. 1. 다음 중 자바언어의 특징이 아닌 것은? (1) JVM (2) GC (3) bytecode (4) Pointer (5) OOP 2. 자바 프로그램이 처음 실행하는 메소드의 정의가 바른 것은? (1) void main(String[] args) (2) public static void main(String[] args) (3) public void Main(String args) (4) public static int main(String[] args) (5) public void main(String[] args) 3. 다음 중 객체지향프로그래밍의 요소가 아닌 것은? (1) Thread (2) Encapsulation (3) Inheritance (4) Polymorphism (5) Abstraction 4. 다음 중 지정하지 않아도 자동으로 임포트 되는 패 키지는? (1) java.io (2) java.util (3) java.lang (4) javax.swing (5) java.net 5. 다음 중 변수 선언이 올바른 것은? (1) int _a = 10; (2) float $f = 3.0; (3) String 3s = “text”; (4) double b* = 1.0; (5) char ch = “a”; 6. 다음 중 자바 언어에서 사용하는 키워드가 아닌 것 은? (1) synchronized (2) throws (3) static (4) goto (5) struct 7. 다음의 실행 결과는? public class Test { public static void main(String[]args) { String str= NULL; System.out.println(str); } } (1) (none) (2) null (3) NULL (2) 컴파일 에러 (3) 런타임 에러 8. 배열의 크기를 얻을 수 있는 방법은? int[] array = { 1, 2, 3, 4, 5 }; (1) array.getLength(); (2) array.length() (3) array.length (4) array.size() (5) array.len 9. 다음 메소드의 overloading 으로 올바르지 않은 것 은? public void method(); (1) public void method(int n); (2) public int method(); (3) public void method(int n, int m); (4) private void method(int n); (5) private void method(int n, int m); 10. 생성자에 대한 설명 중 틀린 것은? (1) 생성자를 지정하지 않아도 기본 생성자를 사용할 수 있다 (2) 생성자는 Overload 하여 여러 개 생성이 가능하다 (3) 생성자 내에서 동일 클래스의 생성자를 호출할 수 있 다 (4) 생성자 내에서 부코 클래스의 생성자를 호출할 수 있 다 (5) 상속된 클래스는 부모 클래스의 생성자 모두가 상속 된다 Java Programming Language 이름 :
  • 2. 11. 다음 프로그램의 실행 결과는? String a= “abc”; String b= “abc”; if(a == b) System.out.println(“TRUE”); else System.out.println(“FALSE”); (1) TRUE (2) FALSE (3) (none) (4) Compile error (5) Runtime error 12. 다음 프로그램의 실행 결과는? public class Exam { pubic static void main(String[] args) { if(three() == five()) { System.out.println(“TRUE”); } } public int three() { System.out.println(“3”); return 3; } public int five() { System.out.println(“5”); return 5; } } (1) 3 5 TRUE (2) 5 3 TRUE (3) 3 (4) Compile error (5) Runtime error 13. 다음 코드의 설명 중 옳은 것은? public static void main(String[] args) { try { Integer i = 10; } finally { System.out.println(i); } } (1) catch 문이 없기 때문에 compile error 이다. (2) Integer Object형 변수에 primitive 값을 입력 했기 때문에 compile error이다. (3) finally 에서 i 변수를 읽을 수 없기 때문에 compile error 이다. (4) println 메소드의 파라미터로 String이 아닌 int 가 전달됐기 때문에 compile error이다. (5) java.lang 을 import 하지 않았기 때문에 compile error 이다. 14. 다음 Collection 중에서 List interface 를 구현하 지 않는 것은? (1) ArrayList (2) LinkedList (3) Stack (4) Tree (5) Vector 15. Multi-Thread 환경에서 동기화를 지원하는 메소드 의 정의시에 사용하는 키워드는? (1) abstract (2) synchronized (3) volatile (4) static (5) transient 16. Network Client 프로그램을 만들기 위해서 TCP를 사용하는 클래스는? (1) DataOutputStream (2) DataInputStream (3) Datagram (4) SocketServer (5) Socket 17. Primitive Type 변수가 Wrapper Object Type 으 로 자동 형 변환 되는 기능을 무엇이하고 하는가? 18. .java 파일을 컴파일 한 결과로 .class 파일에 저장 되어 VM에 의해 인터프리트 방식으로 실행되는 것은 무엇인가? 19. /** */ 형태의 주석을 사용하여 java api document 문서와 같은 형식으로 문서를 생성해주는 도구를 무엇이라 하는가? 20. Swing에서 사용하는 프로그램 설계로써 데이터, 화면, 흐름제어를 담당하는 영역을 구분하여 의존성 없이 개발될 수 있도록 하는 설계 방식을 무엇이라 하 는가? 수고하셨습니다.