Question: 10. Which of these classes compile and will include a default constructor created by the compiler? (Choose all that apply) public class Bird {} public

 10. Which of these classes compile and will include a default

10. Which of these classes compile and will include a default constructor created by the compiler? (Choose all that apply) public class Bird \{\} public class Bird \{ public bird() f\} } public class Bird { public bird(String name) \{\}} public class Bird { public Bird() \{\}} public class Bird { Bird(String name) \{\}} public class Bird \{ private Bird(int age) \{\}} public class Bird { public Bird bird() \{return null; }} 11. Which statements about polymorphism and method inheritance are correct? (Choose all that apply It cannot be determined until runtime which overridden method will be executed in a parent class. It cannot be determined until runtime which hidden method will be executed in a par-ent class. Marking a method static prevents it from being overridden or hidden. Marking a method final prevents it from being overridden or hidden. The reference type of the variable determines which overridden method will be called at runtime. The reference type of the variable determines which hidden method will be called at runtime. 12. Which of the following statements about abstract class are true? (Choose all that apply) Abstract class is a hybrid of concrete class and abstract interfaces. Abstract class can be initiated itself. Abstract class cannot have attributes. Abstract method is only allowed to be in abstract class. Abstract method must be implemented. Abstract class can extend from a superclass and implement multiple interfaces

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!