When is a parameterized method call usefull:
https://stackoverflow.com/questions/278 ... all-useful
			
			
									
									
						About Question enthuware.ocpjp.v8.2.1825 :
Moderator: admin
- 
				bvrulez
 - Posts: 33
 - Joined: Sat Feb 15, 2020 12:44 am
 - Contact:
 
- 
				aomk_17
 - Posts: 3
 - Joined: Thu Feb 04, 2021 10:48 pm
 - Contact:
 
Re: About Question enthuware.ocpjp.v8.2.1825 :
I believe the second answer choice explanation should say you can't specify generic type on the left hand side in this manner (it currently says right hand side)
			
			
									
									
						- 
				admin
 - Site Admin
 - Posts: 10443
 - Joined: Fri Sep 10, 2010 9:26 pm
 - Contact:
 
Re: About Question enthuware.ocpjp.v8.2.1825 :
The right hand side has a problem. It is missing a dot i.e. it should be:
PlaceHolder<String, String> ph2 = PlaceHolder.<String>getDuplicateHolder("b");
instead of
PlaceHolder<String, String> ph2 = PlaceHolder<String>getDuplicateHolder("b");
That is why the explanation says Right hand side.
			
			
									
									
						PlaceHolder<String, String> ph2 = PlaceHolder.<String>getDuplicateHolder("b");
instead of
PlaceHolder<String, String> ph2 = PlaceHolder<String>getDuplicateHolder("b");
That is why the explanation says Right hand side.
Who is online
Users browsing this forum: No registered users and 29 guests