Page 1 of 1

Cohesion level in the following code:

Posted: Wed Aug 28, 2013 10:37 am
by The_Nick

Code: Select all

public class Assembler()
{
public void take()
{
System.out.println("Take the thing");
}
public void glue()
{
System.out.println("Glueing the thing");
}
public void takeAndGlue()
{
take();
glue();
}
}
Hi everybody,
How would you evaluate the question low cohesion or high cohesion?

The_Nick.