♪£yricảl♪
2008-05-07 07:46:24 UTC
Value: 123.456
Data type: double
[Why is it double?? How can you determine that?]
Value: "A"
Data type: String
[Why is it String? How to determine that? And, the double quotes (") enclosing the A means what? I know there will be a meaning for it but I forgot...-.-]
--------------
Write the statement to declare the variable isDone, which is of type boolean.
Ans: boolean isDone
[Hmm, can I write boolean = isDone] If cannot, what's the difference?
Write the statement to declare the variable grade, which is of type char.
Ans: Char grade;
[Is it correct? Do I have to include a semi-colon (;) at the end? If not, why? Then, do the letter 'c' in char has to be capitalised (C) or just a lowercase (c) What's the difference anyway?]
Thank you for your time. ;)