Top Posters
Since Sunday
t
7
m
6
k
6
F
5
j
5
t
5
j
5
G
5
f
5
a
5
d
5
c
5
New Topic  
Eels Eels
wrote...
Posts: 716
Rep: 0 0
7 years ago
If the following were all declared in the same class, Rectangle, which would be considered the no-arg constructor?

(1)  public Rect(int len, int width){...}
(2)  public Rect(double len, double width){...}
(3)  public Rect(){...}

A) (1)
B) (2)
C) (3)
D) None of them, the Java compiler would furnish the default compiler.
Textbook 
Starting Out with Java: Early Objects

Starting Out with Java: Early Objects


Edition: 4th
Author:
Read 170 times
2 Replies
Replies
Answer verified by a subject expert
blitheringblithering
wrote...
Posts: 354
Rep: 9 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1
University of Notre Dame

Related Topics

Eels Author
wrote...
7 years ago
This brought my confidence back up, thanks
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  970 People Browsing
Related Images
  
 1208
  
 283
  
 229