Java Chapter 3
Quiz yourself by thinking what should be in
each of the black spaces below before clicking
on it to display the answer.
Help!
|
|
||||
---|---|---|---|---|---|
To help you prepare for the larger programs, use a separate class containing method main to test each new class. Some programmers refer to such a class as (blank). | a driver class.
🗑
|
||||
Java is known as an extensible language because... | You can declare new class types as needed.
🗑
|
||||
To call a method of the class type use the (blank) followed by the (blank) then the method name and parentheses | variable name, dot separator
🗑
|
||||
Additional information a method needs to perform its task. | Parameter
🗑
|
||||
A method call supplies (blank) for each of the method’s parameters. | values called arguments
🗑
|
||||
An import declaration is not required if you always refer to a class via its... | fully qualified class name
🗑
|
||||
Declaring an instance variable (blank) is known as data hiding or information hiding. | private
🗑
|
||||
To distinguish a constructor, the UML requires that the word “constructor” be placed between (blank) (« and ») before the constructor’s name. | guillemts
🗑
|
||||
Which packages provide the majority of classes used to create a GUI | javax.swing, java.awt
🗑
|
Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
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
Normal Size Small Size show me how
Created by:
lapetti
Popular Computers sets