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();
}
}
How would you evaluate the question low cohesion or high cohesion?
The_Nick.