Instructions: Answer the following questions one at a time. After answering each question, check your answer (by clicking on the check-mark icon if it is available) before proceeding to the next question.
Getting Ready: Before going any further, you should:
icon on your desktop.
PictureFrame.java.
return should line up
(i.e., should start in the same column). Do they?
return line up now?
return still line up?
public is a reserved word in Java so, jGRASP
presents it in a special color.
What color?
public
and delete the b.
public).
PictureFrame.java (and only PictureFrame.java).
WhatAnEgo.java.
/* and a */
is a comment in Java (and many other programming languages).
jGRASP presents comments in a special color.
What color?
String literals are enclosed in quotes in Java
(and many other programming languages).
jGRASP presents String literals in a special color.
What color?
WhatAnEgo.java the active window and
click on View-Generate CSD.
Now, move the cursor to the line containing main()
and click on
View-Fold-Fold.
Copyright 2020