I'm just learning java and for whatever reason in every tutorial somebody is using a different form of an input/output stream, or they're creating 70 instances of different stream types.
Can anybody explain this shit and why it's like that?
Name:
Anonymous2013-04-29 7:07
Why can you initialize char arrays with a string literal, such as "potato" but you can only assign it in array form afterwards?
char xvalue = "potato"; //Acceptable
But...
xvalue = "nugget"; //Not Acceptable?
?
Name:
Anonymous2013-04-29 7:11
I get an error from both of those, you can't assign a string literal to a character.