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 40 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
Gracias!


peter

  • Member
  • Posts: 330
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

Approximately one in three babies in the United States is now delivered by cesarean section. The number of cesarean sections in the United States has risen 46% since 1996.

Did you know?

The immune system needs 9.5 hours of sleep in total darkness to recharge completely.

Did you know?

It is believed that humans initially contracted crabs from gorillas about 3 million years ago from either sleeping in gorilla nests or eating the apes.

Did you know?

The toxic levels for lithium carbonate are close to the therapeutic levels. Signs of toxicity include fine hand tremor, polyuria, mild thirst, nausea, general discomfort, diarrhea, vomiting, drowsiness, muscular weakness, lack of coordination, ataxia, giddiness, tinnitus, and blurred vision.

Did you know?

Women are two-thirds more likely than men to develop irritable bowel syndrome. This may be attributable to hormonal changes related to their menstrual cycles.

For a complete list of videos, visit our video library