java mod 7
Quiz yourself by thinking what should be in
each of the black spaces below before clicking
on it to display the answer.
Help!
|
|
||||
---|---|---|---|---|---|
show | Polymorphism
🗑
|
||||
It is the ability to redefine methods for derived classes. | show 🗑
|
||||
show | Method Overloading
🗑
|
||||
show | Constructor Overloading
🗑
|
||||
creating multiple methods having same name in one class | show 🗑
|
||||
Providing a different implementation of a method in a subclass of the class that originally defined a method. | show 🗑
|
||||
show | Polymorphism
🗑
|
||||
show | The child class itself must be declared to be abstract.
🗑
|
||||
show | Polymorphism
🗑
|
||||
show | All the derived classes must implement the undefined functions
🗑
|
||||
Polymorphism is particularly effective for implementing layered software systems. (t/f) | show 🗑
|
||||
Which of the following is true about interfaces in java | show 🗑
|
||||
show | False
🗑
|
||||
show | all compiles
🗑
|
||||
Can an object of a child type be assigned to a variable of the parent type? For example, Card crd; BirthDay bd = new BirthDay("Lucinda", 42); crd = bd; // is this correct? | show 🗑
|
||||
show | No--if a class defines an abstract method the class itself must be abstract.
🗑
|
||||
A method must do either of two things with a checked exception. What are those two things? | show 🗑
|
||||
show | False
🗑
|
||||
It is bad practice to throw an AssertionError explicitly. | show 🗑
|
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:
gabsky