Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

SCJA-drills-chap01

QuestionAnswer
What are packages? Packages are containers for classes.
What does package statement define? A package statement defines the directory path where files are stored.
What does package statement use for delimitation? Periods
What are the writing conventions regarding packages? Package names should be lowercase and separated with underscores between words.
Which package name beginnings are reserved? To which company?
How many package statements can a source file contain? There can be zero or one package statement per source file.
What is an import statement used for? An import statement is used to include source code from external classes.
Where in a source is an import statement occuring? An import statement occurs after the optional package statement and before the class definition.
How can an import statement define classes? An import statement can define a specific class name to import or can use an asterisk to include all classes within a given package.
What is awt and where is it included? The Java Abstract Window Toolkit API is included in the java.awt package and subpackages.
What is included in java.awt? The java.awt package includes GUI creation and painting graphics and images functionality.
What is Swing and where is it included? The Java Swing API is included in the javax.swing package and subpackages.
What does Swing support? The javax.swing package includes classes and interfaces that support lightweight GUI component functionality.
What are the Basic Input/Output related classes related? The Java Basic Input/Output-related classes are contained in the java.io package.
What is java.io package? What does it support? The java.io package includes classes and interfaces that support input/output functionality of the file system, data streams, and serialization.
What is java.net? What does it support? Java networking classes are included in the java.net package, which includes classes and interfaces that support basic networking functionality that is also extended by the javax.net package.
What is included in java.util? What does it support? Fundamental Java utilities are included in the java.util package: includes classes and interfaces that support the Java Collections Framework, legacy collection classes, event model, date and time facilities, and internationalization functionality.
What does javac do? javac invokes the Java compliler.
How is the Java compiler invoked? The Java compiler is invoked with the javac[.exe] command.
What does the compiler's -d option do? The compiler’s -d command-line option defines where compiled class files should be placed.
Which compliler's command-line option defines where compiled class files should be placed? The compiler’s -d command-line option defines where compiled class files should be placed.
In what conditions does the compiler’s -d command-line option will include the package location? The compiler’s -d command-line option will include the package location if the class has been declared with a package statement.
Which compiler’s command-line option defines the directory paths in search of classes? The compiler’s -classpath command-line option defines directory paths in search of classes.
What does the compiler's -classpath option do? The compiler’s -classpath command-line option defines directory paths in search of classes.
How is the Java interpreter invoked? The Java interpreter is invoked with the java[.exe] command.
What does the command java[.exe] do? The Java interpreter is invoked with the java[.exe] command.
What does the interpreter's switch -classpath do? The interpreter’s -classpath switch defines directory paths to use at runtime.
Which interpreter's switch defines the directory paths to use at runtime? The interpreter’s -classpath switch defines directory paths to use at runtime.
What does the interpreter's -D command-line option do? The interpreter’s -D command-line option allows for the setting of system property values.
Which iterpreter's command-line option allows for the setting of the system property values? The interpreter’s -D command-line option allows for the setting of system property values.
What is the correct syntax for the use of the interpreter's -D command-line option? The interpreter’s syntax for the -D command-line option is -Dproperty=value.
What does the interpreter's -version command-line option do? The interpreter’s -version command-line option is used to return the version of the JVM and exit.
Which of the interpreter's commmand-line option is used to return the version of the JVM and exit? The interpreter’s -version command-line option is used to return the version of the JVM and exit.
Created by: fd99
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards