A second advantage of static factory methods is that, unlike constructors, they are not required to create a new object each time they're invoked.

Author: Joshua Bloch

A second advantage of static factory methods is that, unlike constructors, they are not required to create a new object each time they're invoked. - Joshua Bloch


©gutesprueche.com

Data privacy

Imprint
Contact
Wir benutzen Cookies

Diese Website verwendet Cookies, um Ihnen die bestmögliche Funktionalität bieten zu können.

OK Ich lehne Cookies ab