CH1 Flashcards
HTML-HyperText MarkUp Language
the code/tag that surrounds web pages
Appletviewer
used to interpret and view the results of applet code
method
behavior of an object
IDE-Integrated Development Environment
NetBeans
reserved words
identifying names that have special meaning in programming language
object
messenger between classes
WWW
a system of interlinked hypertext documents accessed via the internet
class
blueprint of an object
comments
lines of text that are ignored by compiler
X,Y coordinates are the ______ corner of the shape
upper left
g.drawOval (100, 200, 300, 400); what is each number
100=x 200=y 300=width 400=height
g.drawLine (100, 200, 300, 400); what is each number
100=x1 200=y1 300=x2 400=y2
Single line comment
//
Multi line comment
/*…*/
new color
Color myBrown=new Color (R, G, B);
how to draw line
g.drawLine (x1, x2, y1, y2);
preprocessor directives always start wth
import
Scope
Can be either global or local and tells you when a variable can be used
What character ends every command?
; (semicolon)
In the command, Color myBrown=new Color (100, 200, 300); What does 100 mean?
Red value
In the command, Color myBrown=new Color (100, 200, 300); What does 200 mean?
Green value
In the command, Color myBrown=new Color (100, 200, 300); What does 300 mean?
Blue value
In the command, Color myBrown=new Color (100, 200, 300); What does myBrown mean?
The name of your color
What does a capital letter at the beginning of word mean in Java usually
A class