Cohesion level in the following code:

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
The_Nick
Posts: 132
Joined: Thu May 16, 2013 9:23 am
Contact:

Cohesion level in the following code:

Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests