I've only recently started my degree, and therefore, I am new to java.
I need to be able to print a character String multiple times on a single line in the consol window. The length needs to be defined by an Integer varible
For example:
str star = "*";
//How would I then print this String n amounts of time on the same line
//like -
int variable 10;
and the result to be:
**********