Write the declaration of a String variable named foreground and initialize it to “black”

LANGUAGE:  JAVA

CHALLENGE:

Write the declaration of a String variable named foreground and initialize it to “black”

SOLUTION:


String foreground = new String("black");