Top Posters
Since Sunday
New Topic  
trancy trancy
wrote...
Posts: 386
Rep: 0 0
3 years ago
Suppose A is an abstract class, B is a concrete subclass of A, and both A and B have a default constructor. Which of the following is correct?

▸ B b = new A();

▸ A a = new A();

▸ A a = new B();

▸ B b = new B();
Textbook 
Introduction to Java Programming, Comprehensive Version

Introduction to Java Programming, Comprehensive Version


Edition: 10th
Author:
Read 74 times
1 Reply
Replies
Answer verified by a subject expert
coltonf1coltonf1
wrote...
Posts: 392
3 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

trancy Author
wrote...

3 years ago
Good timing, thanks!
wrote...

Yesterday
This helped my grade so much Perfect
wrote...

2 hours ago
Thanks for your help!!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1238 People Browsing
Related Images
  
 485
  
 283
  
 206
Your Opinion
Who's your favorite biologist?
Votes: 586