Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the partial hierarchy of orchestra instruments given below: Orchestra Instrument possible Interface A) public interface Instrument { void setSeatAssignment(String seat); String getSeatAssignment(); void tune();

image text in transcribedimage text in transcribedimage text in transcribed

Consider the partial hierarchy of orchestra instruments given below: Orchestra Instrument possible Interface A) public interface Instrument \{ void setSeatAssignment(String seat); String getSeatAssignment(); void tune(); \} B) public interface Instrument \{ void setSeatAssignment(); String getSeatAssignment(); void tune(); \} C) public interface Instrument \{ public static void setSeatAssignment(String seat); public static String getSeatAssignment(String seat); public static void tune(String key); \} D) public interface Instrument \{ setSeatAssignment(String seat); getSeatAssignment(); tune(String key); \} Review the Orchestra Hierarchy and the possible Interface choices in title 1 point blocks above. Which interface choice would be the correct implementation of the interface? A B C D What would be the correct class heading for the Brassinstrument class that * 1 point will want to use the Instrument interface above? Check all of the following that must be in the Brassinstrument class 1 point because it is using the Instrument interface shown above? Do not include everything that can be in the Brassinstrument, just those that are required because of the connection to Instrument instance fields Constructors setSeatAssignment setName getName getSeatAssignment toString equals What is the signature of the setSeatAssignment method in the Instrument interface? (for answer to match key, make sure you match case, and don't use ( ) or commas)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is American Polity and Governance ?

Answered: 1 week ago