java 英文基础测试
来源:互联网 发布:徕卡ts09上传数据 编辑:程序博客网 时间:2024/05/02 09:40
Date:July 13, 2010 00:41Your Grade:F (Fail)Test Taken By:shp2010Passing Score:24 out of 30Your Score:12Test Result:FAILED
AWT & Applets 39.13 %
Scores by Chapters
Inheritance 42.86 %AWT & Applets 39.13 %
Correct Questions (12 / 30)
1. Classes can implement methods and contain variables that are not constants
Answer: True
2. A method is overridden if there is a method in the subclass that has the same name and the ________ set of parameters.
Answer: Same
3. subclass is the class that does the inheriting (the child class)
Answer: True
4. The content pane is the main container in JApplet, JDialog, and JFrame objects.
Answer: True
5. Implementing an interface and extending a class are the two ways of creating threads
Answer: True
6. Extending a class is the way Java inherits methods and variables from a parent class.
Answer: True
7. Java I/O is based on the concept of _________
Answer: Streams
8. A method in Java, that calls itself is said to be recursive.
Answer: True
9. Swing's text components display text and optionally allow the user to edit the text
Answer: True
10. Inheritance interacts with encapsulation also.
Answer: True
11. Through the use of inheritance, programmers can reuse the code in the superclass many times.
Answer: True
12. If you want to mix fonts or colors within the text, or to have formatting such as multiple lines, you can use HTML
Answer: True
Incorrect Questions (18 / 30)
1. ________ enhance performance and functionality in various programming languages
Answer: threads
2. An interface contains _________ methods
Answer: Un-implemented
3. A single-line comment begins with a ________ and ends at the end of the line
Answer: //
4. Each subclass ________ state (in the form of variable declarations) from the superclass
Answer: Inherits
5. _________ can display and edit multiple lines of text
Answer: JtextArea
6. __________ code segments must be implemented for an event handler.
Answer: Three
7. _________ is used to destroy the objects created by the constructor methods.
Answer: finalize()
8. Which of the following will change to the next directory above the current directory?
Answer: none of the above
9. _________ are light-weight components
Answer: Swings
10. Swing provides ________ text components
Answer: Six
11. The term _____________ refers to a class's direct ancestor or to any of its ascendant classes.
Answer: Super Class
12. Java doesnot support Multiline comment
Answer: False
13. The concept of polymorphism is often expressed by the phrase
Answer: One interface, multiple methods
14. ________ text component is best suited for controlling the format of a single line of user-entered text?
Answer: JformattedTextField
15. A thread is a program's path of execution
Answer: True
16. AWT uses native ________ components
Answer: GUI
17. Java supports multiple inheritance
Answer: False
18. We can buffer a RandomAccessFile
Answer: False
- java 英文基础测试
- Java英文面试测试
- Java基础介绍(英文)
- JAVA基础测试
- java基础测试1
- Java基础测试题
- Java基础测试总结
- Java se基础测试
- java 基础测试
- 一次Java基础测试
- Java程序基础测试题目
- Java程序基础测试题
- Java程序基础测试题目
- Java程序基础测试题目
- Java程序基础测试题目
- Java程序基础测试题目
- Java程序基础测试题目
- Java程序基础测试题目
- 决定开始写写blog
- 计算机名校,哪个最强?
- C#编写的 8种初级+高级排序方法
- 解决manifest.mf的line too long问题
- 前营中间件(3) - 组件的开发
- java 英文基础测试
- Web.config配置文件详解
- vb获取cpuid 硬盘物理序列号和逻辑盘序列号 的方法
- C++求职笔试题
- 同步更新博客
- Telnet、SSH(SSH1和SSH2)之间的区别
- UNIX 编程实践教程学习笔记 (一)[续2,关于伸缩型数组成员]
- FCKeditor在ASP.NET中的配置方法
- struts根据浏览器自动选择文字语言(国际化)