Question: using java 10. Which of these classes compile and will include a default constructor created by the compiler? (Choose all that apply) public class Bird
10. Which of these classes compile and will include a default constructor created by the compiler? (Choose all that apply) public class Bird 0 public class Bird \{ public bird() } \} public class Bird \{ public bird(String name) 0} public class Bird \{ public Bird () 0} public class Bird { Bird(String name) 0} public class Bird \{private Bird(int age {0} public class Bird \{public Bird bird() \{return nulli\}\} 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
