Many systems provide the ability to have alternatives to visual or other sensory attributes (such as color or sound) for the purpose of accessibility (for example a picture to be displayed on a Web page may have a textual alternative that could be read by a text-to-speech peripheral for the usually impaired). Define an interface AccessibleGUIAttribute that contains a single method, getAlternativeText, that returns a string representing the textual alternative of an object. getAlternatrive accepts no parameters .210)

LANGUAGE: JAVA

CHALLENGE:

Many systems provide the ability to have alternatives to visual or other sensory attributes (such as color or sound) for the purpose of accessibility (for example a picture to be displayed on a Web page may have a textual alternative that could be read by a text-to-speech peripheral for the usually impaired).
Define an interface AccessibleGUIAttribute that contains a single method, getAlternativeText, that returns a string representing the textual alternative of an object. getAlternatrive accepts no parameters .210)

SOLUTION:

interface AccessibleGUIAttribute{
   public String getAlternativeText();
}