- 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 the 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 uses the java.util and java.regex packages and also the pattern and the matcher classes.
- Write code that makes proper use of exceptions and exception handling clauses (try, catch, finally).
- 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 that makes use of generic collections with/without generics, and with/without wildcards and find the difference between these approaches.
- Write code that uses the NavigableSet and NavigableMap interfaces.
- Write code to explore the benefits and limitations of autoboxing/unboxing.
- Use the for-each loop in your code. Make use of static import.
- Write code using a Scanner and find the benefits and limitations of a Scanner.
- Write code for searching and sorting algorithm using the java.lang.Comparable and java.lang.Comparator interfaces.
- Write code using serializable and explain the benefits and drawbacks of using serializable.
- Write code that makes use of the capabilities of the java.io package for different file operations. The Console class has been added in the new Java version.
No Comments Yet
Be the first to share your thoughts on this post!