I think the explanation is a little bit misleading here for option 2.
You actually can specify generic types for methods, the only problem is it should be _after_ the dot, not _before_ it.
This will work:
PlaceHolder<String, String> ph1 = PlaceHolder.<String>getDuplicateHolder("b");
			
			
									
									
						About Question enthuware.ocpjp.v8.2.1825 :
Moderators: Site Manager, fjwalraven
- 
				UncleF
 - Posts: 11
 - Joined: Wed Jun 14, 2017 3:43 am
 - Contact:
 
- 
				admin
 - Site Admin
 - Posts: 10443
 - Joined: Fri Sep 10, 2010 9:26 pm
 - Contact:
 
Re: About Question enthuware.ocpjp.v8.2.1825 :
Updated.
thank you for your feedback!
Paul.
			
			
									
									
						thank you for your feedback!
Paul.
Who is online
Users browsing this forum: No registered users and 17 guests