Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help with these questions... Can someone please give me a correct answer

ID: 649547 • Letter: P

Question

Please help with these questions...

Can someone please give me a correct answer for each of the following multiple-choice questions ?

many thanks!

A class that has at least one abstract method is called an: If the field modifier _ is specified in a method definition, the method cannot be overridden by a subclass. A method that has the same name but a different set of parameters as an existing method is said to _the original method. _ is the ability of a variable name to represent, during program execution, instances of different but related classes that descend from a common superclass. Consider the class diagram below. Which of the following is TRUE of any correct Java implementation?

Explanation / Answer

Answer 1

Abstract class :An Abstract class cannot be instantiated. An abstract class may contain static variables declared. Any class with an abstract method must be declared explicitly as abstract.A class containing atleast one abstract method is called an abstract class.

Answer 2

Inheritance :A class may be derived from over one categories, which implies it will inherit information and functions from multiple base categories. with the assistance of inheritance we will name of the variable throughout program execuition .

Answer 3

Protected:the protected class cannot be overerriden by a subclass.

Answer 4

Override

Answer 5

The abstract class Duck implements two interfaces: FlyBehaviour and Quackbehaviour.