题库 软件开发 题目列表 请你判断下面耦合度最高的代码是?
单选题

请你判断下面耦合度最高的代码是?

A.
void funA(int a){
  xxx;
  funB(a);
  xxx;
}

int funB(int b){
  int c=b;
  xxx;
  return c;
}
B.
void funA(int a){
   int c=a;
}

void funB(int b){
  int c=b;
}
C.
int funA(int a){
  xxx;
  return xxx;
}

void funB(int b){
  xxx;
}

void funC(){
    int a=funA(1);
    funB(a);
}
D.
int global=100;

void funA(){
  int a=global;
  xxx;
}

void funB(){
  int b=global;
  xxx;
}
题目信息
校招真题
-
正确率
0
评论
12
点击