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 42 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
Excellent


raili21

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

 

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?

In the United States, an estimated 50 million unnecessary antibiotics are prescribed for viral respiratory infections.

Did you know?

Most fungi that pathogenically affect humans live in soil. If a person is not healthy, has an open wound, or is immunocompromised, a fungal infection can be very aggressive.

Did you know?

Walt Disney helped combat malaria by making an animated film in 1943 called The Winged Scourge. This short film starred the seven dwarfs and taught children that mosquitos transmit malaria, which is a very bad disease. It advocated the killing of mosquitos to stop the disease.

Did you know?

Your skin wrinkles if you stay in the bathtub a long time because the outermost layer of skin (which consists of dead keratin) swells when it absorbs water. It is tightly attached to the skin below it, so it compensates for the increased area by wrinkling. This happens to the hands and feet because they have the thickest layer of dead keratin cells.

For a complete list of videos, visit our video library