This topic contains a solution. Click here to go to the answer

Author Question: Which of the following statements regarding abstract methods are true? (Read 41 times)

jwb375

  • Hero Member
  • *****
  • Posts: 540

Question 1

Which of the following declares an abstract method in an abstract Java class?
◦ public abstract method();
◦ public void method() {}
◦ public abstract void method() {}
◦ public void abstract Method();
◦ public abstract void method();

Question 2

Which of the following statements regarding abstract methods are true?
◦ A subclass can override a concrete method in a superclass to declare it abstract.
◦ An abstract class can be used as a data type.
◦ An abstract class can be extended.
◦ An abstract class can have instances created using the constructor of the abstract class.
◦ A subclass of a non-abstract superclass can be abstract.


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by jwb375 on May 6, 2020

frre432

  • Sr. Member
  • ****
  • Posts: 347
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 39% of students answer this correctly




jwb375

  • Member
  • Posts: 540
Reply 2 on: May 6, 2020
:D TYSM


okolip

  • Member
  • Posts: 362
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

Throughout history, plants containing cardiac steroids have been used as heart drugs and as poisons (e.g., in arrows used in combat), emetics, and diuretics.

Did you know?

Although the Roman numeral for the number 4 has always been taught to have been "IV," according to historians, the ancient Romans probably used "IIII" most of the time. This is partially backed up by the fact that early grandfather clocks displayed IIII for the number 4 instead of IV. Early clockmakers apparently thought that the IIII balanced out the VIII (used for the number 8) on the clock face and that it just looked better.

Did you know?

Cytomegalovirus affects nearly the same amount of newborns every year as Down syndrome.

Did you know?

For pediatric patients, intravenous fluids are the most commonly cited products involved in medication errors that are reported to the USP.

Did you know?

The Centers for Disease Control and Prevention (CDC) was originally known as the Communicable Disease Center, which was formed to fight malaria. It was originally headquartered in Atlanta, Georgia, since the Southern states faced the worst threat from malaria.

For a complete list of videos, visit our video library