Class variables vs. Instance variables vs Local variables
Question: What is it? Why is it useful?
Question: What does it mean?
Question: Purpose? What are the Java accessability modifier keywords?
-
An instance of an class (an object) should contain just what is needed
to model a real world thing to the necessary detail to accomplish
a problem task.
-
Implementation details should not be accessible.
Using java.io classes:
- Character Streams - Readers and Writers
- Examples of reading file contents
- Reading Strings
- Converting characters in Strings into primitive data
Question: What are they? How do you deal with them?