charAt( ):
|
Examples:
"abc".charAt(0) is 'a' "abc".charAt(1) is 'b' "abc".charAt(2) is 'c' |
It's very important that you understand that:
|
Example:
When you write:
x = x * 5; // 5 is in decimal !!
The compiler will output instruction codes that
will tell the CPU to multiply the binary number
in variable x with the binary number:
00000000000000000000000000000101 (=5(10)) !
and store the result back into variable x
|
We will now discuss:
|