Examlex

Solved

What Will Be Displayed When the Following Code Is Executed

question 11

Multiple Choice

What will be displayed when the following code is executed?
JLabel myLabel = new JLabel ("It's a beautiful morning!") ; myLabel.setIcon(SunnyFace.gif) ;


Definitions:

Charles Lindbergh

An American aviator who became famous for making the first solo nonstop flight across the Atlantic Ocean in 1927, aboard the Spirit of St. Louis.

Lend Lease Program

A program initiated by the United States during World War II that allowed the U.S. to provide its allies with food, oil, and material without immediate payment in order to help defeat the Axis powers.

Battle of Britain

A major World War II air campaign fought primarily between the Royal Air Force of Great Britain and the Luftwaffe of Nazi Germany in 1940.

Soviet Union

A federal socialist state in Eurasia that existed from 1922 to 1991, officially known as the Union of Soviet Socialist Republics (USSR).

Related Questions