I decided to learn java, but my first program has an unsolvable
error and i''m all lost... not to mention a mental breakdown...
they say that hsa.Console is unaccessible... so there''s an error with that line.. but i got it straight from a text book..
Hello. Did you get a CD with your textbook? If so then you need to copy the directory hsa to a more permanent (from the perspective that you might want to use the CD-ROM drive for something else not to denote that a hard drive is more permanent then a CD-ROM drive ) place. When you go to compile your class files you need to type in the following
means that your program needs a class ''Console'' from a package ''hsa''. This package and class are not standard with a java developer''s kit distrobution, like joeG said, they are probably on a CD somewhere that you got with your book. Packages translate to directory sturcture, so a package of book.specialized.hsa would be a directory structure of book \ specialized \ hsa Then you would find Console.java or Console.class in there.