var also cannot be declare as instance fieldCannot use 'var' on variable without initializer. In other words, a var declaration must assign a value to the variable.
About Question enthuware.ocpjp.i.v11.2.3220 :
Moderators: Site Manager, fjwalraven
- 
				teodorj
 - Posts: 28
 - Joined: Tue Jun 19, 2018 10:27 am
 - Contact:
 
About Question enthuware.ocpjp.i.v11.2.3220 :
- 
				admin
 - Site Admin
 - Posts: 10443
 - Joined: Fri Sep 10, 2010 9:26 pm
 - Contact:
 
Re: About Question enthuware.ocpjp.i.v11.2.3220 :
Enhanced explanation to include this point as well.
thank you for your feedback!
			
			
									
									
						thank you for your feedback!
- 
				goblingift
 - Posts: 6
 - Joined: Mon Mar 24, 2014 5:35 pm
 - Contact:
 
Re: About Question enthuware.ocpjp.i.v11.2.3220 :
Unfortunately, the description for the answer 1 "var s;" hasn´t enhanced yet.
It is still "Cannot use 'var' on variable without initializer. In other words, a var declaration must assign a value to the variable."
--> But should contains the comment, that var can´t be used for instance variables at all
			
			
									
									
						It is still "Cannot use 'var' on variable without initializer. In other words, a var declaration must assign a value to the variable."
--> But should contains the comment, that var can´t be used for instance variables at all
- 
				admin
 - Site Admin
 - Posts: 10443
 - Joined: Fri Sep 10, 2010 9:26 pm
 - Contact:
 
Re: About Question enthuware.ocpjp.i.v11.2.3220 :
Where you are looking? I just checked the explanation and it is there.
Also, please update your question bank to v 1.53.
			
			
									
									
						Also, please update your question bank to v 1.53.
Who is online
Users browsing this forum: No registered users and 8 guests