D Williams wrote:
MyClass.java:16: error: cannot find symbol
string nbarray  = new string ;
symbol: class string
location: class MyClass
Finally, so the char datatype is used only for single characters? In on of the books I am reading strings are not listed as one of the 8 primary data types in Java. It talks about strings but doesn't put them into context the way you did here on the board. Does this really strike you as odd? The book I am evaluating has byte, short, int, long, float, double, boolean, char as the main eight... string isn't mentioned?
By the end of the course you will understand what all of these words mean and why they're there. Until then you will just have to trust me that they need to be there, and we'll get back to them later.
Yes and no.
D Williams wrote: . . . Finally, so the char datatype is used only for single characters? . . .
It will give me the powers of the gods. Not bad for a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton