题目

public class Mycircle {  public double radius;  public double diameter;  public void setRadius(double radius)  this.radius = radius;  this.diameter= radius * 2;  }  public double getRadius()   {  return radius;  }  Which statement is true?()  

A、 The Mycircle class is fully encapsulated.

B、 The diameter of a given MyCircle is guaranteed to be twice its radius.

C、 Lines 6 and 7 should be in a synchronized block to ensure encapsulation.

D、 The radius of a MyCircle object can be set without affecting its diameter.

提示:未搜索到的试题可在搜索页快速提交,您可在会员中心"提交的题"快速查看答案。
答案
查看答案
相关试题

在智能网系统中SCP的配置至少是双备份的。()

A、对

B、错

在Internet区域中,安全级别设置为高,以下说法正确的是()

A、限制没有合同隐私的第三方那个Cookie

B、阻止使用个人可识别的信息而您没有明确许可的COOKIE

C、阻止没有合同隐私的COOKIE

D、所有COOKIE都保存在您的计算机

OO技术中,存储和操作的基本单位是()

A、记录

B、块

C、对象

D、字段

You are using flat files as the data source for one of your data warehousing applications. You plan to move the data from the flat file structures to an Oracle database to optimize the application performance. In your database you have clustered tables.  While migrating the data, you want to have minimal impact on the database performance and optimize the data load operation. Which method would you use to load data into Oracle database?()

A、use the external table population

B、use the Oracle Data Pump export and import utility

C、use the conventional path data load of SQL*Loader utility

D、use the direct path data load of Oracle export and import utility

程控交换机按交换信息的不同,可分为模拟交换机和数字交换机。()

A、对

B、错

联系我们 会员中心
返回顶部