Book(){}
Book(String title, String author) {
this.title = title;
this.author = author;
}
Is it overloaded if I do this?
java constructor overloading
Yeah. Overriding overloading You seem to be trying to understand both concepts. If you look up the difference between the two concepts on the Internet, there are several articles posted, so it would be easier to understand if you refer to them. https://private.tistory.com/25
© 2024 OneMinuteCode. All rights reserved.