单项选择题

在结构化程序设计中,模块划分的原则是( )。

A.各模块应包括尽量多的功能
B.各模块的规模应尽量大
C.各模块之间的联系应尽量紧密
D.模块内具有高内聚度、模块间具有低耦合度
<上一题 目录 下一题>
热门 试题

单项选择题
下面程序的输出为( )。 public class Test { public static void main (String args[]) { int x,y; x=1; y=2; System.out.println( The output is +x+y); } }
A.The output is xy
B.The output is 3
C.The output is 12
D.The output is x=1 y=2
单项选择题
文件操作中,语句public String getPath()的作用是( )。
A.得到一个包含路径的文件名
B.得到文件路径名字符串
C.得到文件对象的父路径名
D.得到文件的上一级目录名
相关试题
  • 已知如下代码: switch(m) { case ...
  • 下列程序的功能是在监控台上每隔一秒钟显示...
  • 设有下列两个类的定义,则类Person和类Man...
  • 所有字节输出流都( )。
  • 在Graphics类中,用来绘制圆的方法是( )...