× Didn't find what you were looking for? Ask a question
Top Posters
Since Sunday
5
a
5
k
5
c
5
B
5
l
5
C
4
s
4
a
4
t
4
i
4
r
4
New Topic  
DePeet DePeet
wrote...
Posts: 338
Rep: 0 0
5 years ago
Write a declaration for a Rectangle named squareShape that is 400 pixels wide, 400 pixels high, and its upper-left corner position is at point (50, 50).
a.   Rectangle squareShape = new squareShape(50, 50, 400, 400);
b.   squareShape = new Rectangle(50, 50, 400, 400);
c.   Rectangle squareShape = new Rectangle(50, 400, 50, 400);
d.   Rectangle squareShape = new Rectangle(50, 50, 400, 400);
e.   Rectangle = new squareShape(400, 400, 50, 50);
Read 49 times
1 Reply
Replies
Answer verified by a subject expert
StingerStinger
wrote...
Posts: 310
Rep: 4 0
5 years ago
Sign in or Sign up in seconds to unlock everything for free
1

Related Topics

DePeet Author
wrote...

5 years ago
Correct Slight Smile TY
wrote...

Yesterday
You make an excellent tutor!
wrote...

2 hours ago
Brilliant
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1211 People Browsing
Related Images
  
 377
  
 337
  
 383
Your Opinion
Who will win the 2024 president election?
Votes: 3
Closes: November 4

Previous poll results: Do you believe in global warming?