My assignment URLyBird v1.2.2. I have some questions to develop the db server:
1. Is it necessary to validate the data when reading the db file?
2. Is it a good idea to use
java class Vector to store the record? (By using this object, I can call wait() and notifyAll() method in my locking mechanism.)
3. In coding, need to set private to each instance variable in order to minimize the variable scope? (Cannot use default or protected modifier?)
4. In coding, in normal situation, no need explicitly to set final to the method, right?
Thank you
SCJP, SCWCD
David