Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What command is used to bring a class from a package into your code?
It's a keyword that starts with 'i'.
Name a class from the java.util package.
It's commonly used for dynamic arrays.
Which of the following is a built-in package in Java?
It's a package you'll always have access to.
You have to use the Date class in your program. Which statement would be correct to import this class?
Remember the package name we discussed!
Design a program that imports the Date class and formats the current date in a readable format.
Think about how to format a Date object to a string representation.
Create an application that uses java.util.ArrayList to store names, add three names, and print the list of names.
Remember how to use dynamic arrays and ArrayLists.
5 more questions in this section. Enroll free to practise them all.
Enroll free