Within the method main, call each dataOut method using an appropriate list of arguments chosen from four variables that are declared in main:
A char variable named letter, assigned the value 'a'
A String variable named name, assigned the value "Hello"
An int variable named number, assigned the value 5
A double variable named value, assigned the value 6.25
Be sure to include comments and display the results to the user.
Comments
Leave a comment