Solved

Suppose That Book Is Class with Two Instance Variables-Name of Type

Question 11

Multiple Choice

Suppose that Book is class with two instance variables-name of type String and numOfBooks of type int. Which of the following would be appropriate syntax for the heading of a copy constructor for the class called Book?


A) public Book(String n, int num)
B) public Book()
C) public Book(Book b)
D) public copyBook(String n, int num)

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions