Hi
im working on a program and in the constructor i need to initialize a StringBuilder object with equal numbers of a the letters Y & N the constructor has an int argument which will specify how many of each String the StringBuilder will be initialized with. The code I have so far is:
public Questions(int aNumber) { super(); this.anwers = new StringBuilder(5); }
but im now stuck as I dont know how to make itinitialize with equal numbers of eaxh string "Y" & "N"
hoe someone can help