package strategyPattern;

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

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

package strategyPattern;

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

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

Update Prince.java