I want to use more objects in my thining.
I want to have a user input a string such as "Welcome Home" and the it out put the string in a ascii type fashion.
I created an array for each letter in the alphabet.
Here is an example without user input.
Code:
for (int i = 0; i < mArray.length; i++) {
System.out.println(mArray[i] + " " + bArray[i] + " " + aArray[i] + " ");
}
Code:
** ** ******* **
*** *** ** * * *
** * * ** ** * * *
** * * ** ** * ** **
** * ** ******* ********
** ** ** * ** **
** ** ** * ** **
** ** ** * ** **
** ** ******* ** **
Process completed.
I tend to think linear and program everything in the main method. I want to start thinking as in Objects and methods even if it takes me longer to write simple programs. So with this program
1) What kind of methods would you make ( I just need some ideas not code). Sure you can say "well whatever you want" but I already know I can use whatever I chose. I am asking YOU how YOU might go about this.
2) I want to use a char within a string to call my String[] variables. So maybe the first letter of the actual var name would be called by a char. SO if the char tempLetter is 'b' then it would call (tempLetter)Array or (b)Array. This maybe a bit advanced for me, but I am very curious.