Question: I need help with these 7 questions please. 1. Java interfaces a. can contain final variables that are initialized with a value b. can contain



I need help with these 7 questions please.
1. Java interfaces a. can contain final variables that are initialized with a value b. can contain multiple abstract methods c. can serve as reference data types d. All the above. e. a and b f. a and c 2. If the class Turkey implements the Edible interface, then the relationship between Turkey and Edible is a. has-a b. aggregation C. IS-a d. a and b e. None of the above 3 Class members with this modifier can potentially be accessed outside of the package a. protected b. private c. public d. default e. All the above f. a and c g. a, c,d 4. In the following problem, the class Apple inherits from the class Fruit. Which of the following is true? public Apple( String name ) super ) //other code for the Apple constructor goes here a. b. c. d. e. The italicized line calls one of the Fruit constructors. The italicized line could have been omitted The above Apple constructor would be explicitly called by any subclasses of Apple when needed All the above. a and b
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
