Things to practice for Sun test CX310-055.
Things to practice for Sun test CX310-055.
Rating:
The CX310-055 (Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0) checks your real ability as a programmer. In fact it is totally scenario based, rather than knowledge based. This test requires you to have a good understanding of the
- Write code that declares, constructs, and initializes arrays of any base type using any of the permitted forms both for declaration and for initialization.
- Write code using if and switch statements.
- Write code using all forms of loops including labeled and unlabeled, using break and continue statements, simple and enhanced for loop.
- Write code that makes proper use of exceptions and exception handling clauses (try, catch, finally).
- Write code that makes proper use of assertions.
- Write code that explicitly makes objects eligible for garbage collection.
- Write code to invoke overridden or overloaded methods and parental or overloaded constructors.
- Write code to define, instantiate, and start new threads using both java.lang.Thread and java.lang.Runnable.
- Write code using synchronized wait, notify, and notifyAll to protect against concurrent access issues and to communicate between threads.
- Write code that makes use of generic collections with/without generics, and with/without wildcards and find the difference between these approaches.
- Write code to explore the benefits and limitations of autoboxing/unboxing.
- Use for-each loop in your code. Make use of static import.
- Write code using Scanner and find the benefits and limitations of a Scanner.
- Write code using the serializable interface and explain the benefits and drawbacks of using this interface.
- Write code that makes use of the capabilities of the java.io package for different file operations.
Rating:
Other articles
- What is ClassCastException?
- What is the instanceof operator?
- What is the floatValue() method?
- What is a for-each loop?
- What is an enumeration?