Why no compile error at CustomerService service = ServiceFactory.getInstance().getServiceType(Ser...
Why no compile error at CustomerService service = ServiceFactory.getInstance().getServiceType(ServiceType.CUSTOMER);
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!
(stackoverflow.com/users/23208788/sonny-mad)Sonny Mad
(stackoverflow.com/users/20184128/berse2212)berse2212
(stackoverflow.com/users/7237884/panagiotis-bougioukos)Panagiotis Bougioukos
(stackoverflow.com/users/1155209/jewelsea)jewelsea
A special thanks goes out to the (stackoverflow.com/questions/79435520/why-no-compile-error-at-customerservice-service-servicefactory-getinstance-g)Stackexchange community
I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de
bounded-types generics interface javafx java