![]() You are trying to figure out how to ignore certain properties of a model if you don't use them. ![]() ![]() You arrived at a problem which is a result of a bad design. The primary constructor is part of the class header. Optional parameters is not a bad practice, definitely not, but sometimes the optional parameters may be optional solely because of what the class does. Java doesnt have the concept of optional parameters with default values either in constructors or in methods.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |