Constructor telescoping in Java

5

When there are several parameters in which some is required/mandatory parameter to create an instance of class and some are optional, you can provide the value of optional parameter or not.The default value for the optional parameter is provided by class.

Read this post on techie-knowledge.co.in


Ashutosh kumar

blogs from New Delhi