Font size:
Print
Question: Given a class named Book, which one of these is a valid constructor declaration for the class?
1. Book(Book b) { }
2. Book Book() { }
3. private final Book() { }
4. void Book() { }
Check Answer
1. Book(Book b) { }
2. Book Book() { }
3. private final Book() { }
4. void Book() { }
Check Answer