题目内容

Most programming languages that are in use today are:目前大多数编程语言使用的是:

A. procedural 程序
B. logic 逻辑
C. object-oriented 面向对象
D. functional 功能

查看答案
更多问题

Java allows you to create objects of this class in the same way you would create primitive variables.Java允许你以与创建原始变量相同的方式创建的对象。

A. Random
B. String
C. PrintWriter
D. Scanner

A UML diagram does not contain:UML图不包含:

A. the class name. 类名
B. the method names. 方法名称
C. the field names. 字段名
D. object names 对象名称

Data hiding, which means that critical data stored inside the object is protected from code outside the object, is accomplished in Java by: 数据隐藏(这意味着存储在对象内部的关键数据不受对象外部代码的影响)是在Java中通过来实现的。

A. using the public access specifier on the class methods 在类方法上使用公共访问说明符
B. using the private access specifier on the class methods 在类方法上使用私有访问说明符
C. using the private access specifier on the class definition 在类定义上使用私有访问说明符
D. using the private access specifier on the class fields 在类字段上使用私有访问说明符

For the following code, which statement is not true?对于下面的代码,哪个语句是不正确的?public class Sphere{private double radius;public double x;private double y;private double z;}

A. x is available to code that is written outside the Circle class. x可用于在Circle类之外编写的代码
B. radius is not available to code written outside the Circle class. radius不能用于在Circle类之外编写的代码
C. radius, x, y, and z are called members of the Circle class. radius、x、y和z称为Circle类的成员
D. z is available to code that is written outside the Circle class. z可用于编写在Circle类之外的代码

答案查题题库