Skip to main content
Progzoo.net
Tutorials
Guides
Edit
Java
C#
C++
Perl
PHP
Python
Ruby
VB
Hide Sidebar
Show Sidebar
<Progzoo Sections>
ProgZoo
Tutorials
How to...
Assessments
Help
<Other>
To do list
Recent changes
Random page
Personal
Log in / create account
Views
Article
Discussion
View source
History
Toolbox
What links here
Related changes
Upload file
Special pages
Printable version
Polygons Quick Quiz
From Progzoo
Quick Quizes
Graphics Quick Quiz
Lines Quick Quiz
Polygons Quick Quiz
Repeats Quick Quiz
Transforms Quick Quiz
Hard Graphics Quick Quiz
Change just one number or word. Do it fast!
Make it a Right Angled Triangle
Wrong
Right
.
static void drawFlag(Graphics2D g) { Polygon tri = new Polygon(); tri.addPoint(10,10); tri.addPoint(10,Q(Q50Q)Q); tri.addPoint(90,90); g.setColor(Color.red); g.fillPolygon(tri); }
[
Font
] [
Default
] [
Show
] [
Resize
] [
History
] [
Profile
]
test text
We need 10 of these