Some of the test objectives mentioned in SCJP 1.4 seems to be very specific. So should I take them literally? For example:
SECTION 8: FUNDAMENTAL CLASSES IN THE JAVA.LANG PACKAGE * Write code using the following methods of the java.lang.Math class: abs, ceil, floor, max, min, random, round, sin, cos, tan, sqrt. : : * Describe the significance of wrapper classes, including making appropriate selections in the wrapper classes to suit specified behavior requirements, stating the result of executing a fragment of code that includes an instance of one of the wrapper classes, and writing code using the following methods of the wrapper classes (e.g., Integer, Double, etc.): o doubleValue o floatValue o intValue o longValue o parseXxx o getXxx o toString o toHexString
Does this mean that other methods in the Math class such as exp, pow, log will not be asked? And for the wrapper classes, does it limit the questions only to those methods metioned above?
SECTION 9: THE COLLECTIONS FRAMEWORK
A few weeks ago, I asked if Vectors and HashTables is included, and somebody said yes. But now I realized that they are not considered as being part of the Collection Frameworks. So will there be questions about these 2 legacy collections? Thanks. [ July 09, 2003: Message edited by: Alton Hernandez ]
I don't agree that Vector and HashTable can be named "legacy collections". In many situations, they are the best choices. At least in my code, ArrayList and HashMap cannot always replace them. BTW, I did have Vector questions in my test.
Originally posted by Bred Tom: I don't agree that Vector and HashTable can be named "legacy collections". In many situations, they are the best choices. At least in my code, ArrayList and HashMap cannot always replace them. BTW, I did have Vector questions in my test.
Well the reason I said that they do not belong to the Collection Framework is because most articles or books that I read implies that they do not. In fact, I borrowed the term legacy collection from the book "The Java Programming Language" by Arnold, Gosling, and Holmes. An example of an article the seems to differentiate Vector and Hashtable from Collection is from this one.
An excerpt from that article is reproduced below:
Before Collections made its most welcome debut, the standard methods for grouping Java objects were via the array, the Vector, and the Hashtable. All three of these collections have different methods and syntax for accessing members:....
[ July 09, 2003: Message edited by: Alton Hernandez ]
Alton - Here's the scoop for 1.4... The getXxx() method is NOT covered - Sun's mistake but... The valueOf() method IS on the exam, and it's BIG
exp, pow, log are NOT covered Vector and Hashtable are IN the exam. In regards to collections, you should understand the features and uses of the following: Set, List, Map HashSet, LinkedHashSet, TreeSet LinkedList, Vector, ArrayList Hashtable, LinkedHashMap, HashMap, TreeMap Hope that helps! -Bert
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)