Question: In the following code what is the graph for the lcom4 would look like so i can see what if its lcom4=1 or lcom4=2
In the following code what is the graph for the lcom4 would look like so i can see what if its lcom4=1 or lcom4=2
class LCOM4 {
private int x, y, z, w;
public void A() {
for (int x= y; x
w = w* x;
}
public boolean B() {
return (x<0);
}
public boolean C() {
return (y>0);
}
public void D() {
if (C() || F()) A();
}
public int E() {
return (int) x/2;
}
public boolean F() {
return (y
}
public int G() {
if (!B()) return E();
}
}
Step by Step Solution
3.45 Rating (148 Votes )
There are 3 Steps involved in it
In the given code the LCOM4 Lack of Cohesion in Methods 4 graph would ... View full answer
Get step-by-step solutions from verified subject matter experts
