package strategyPattern;

public class King extends Character{
public King(){
	System.out.println("I am King!!!");
}

	public void shout() {
		System.out.println("I am King!!!!!!");
	}
}

package strategyPattern;

public class King extends Character{
public King(){
	System.out.print("I am King!!!\n");
}

	public void shout() {
		System.out.print("I am King!!!!!!\n");
	}
}

Update King.java