7)Write a Java Program that simulates a Traffic Light. The program lets the use select one of three lights :red, yellow or Green with radiobuttons.On selecting radio button, an appropriate message with “stop” or “Ready” or “GO” should appear above the button in selected color.Intially ,there is no message shown.
0 comments:
Post a Comment