An empty switch block is a valid construct.
How is this correct?
			
			
									
									
						About Question enthuware.ocajp.i.v7.2.1257 :
Moderator: admin
- 
				girish_v
 - Posts: 7
 - Joined: Tue Apr 21, 2015 5:26 am
 - Contact:
 
- 
				admin
 - Site Admin
 - Posts: 10443
 - Joined: Fri Sep 10, 2010 9:26 pm
 - Contact:
 
Re: About Question enthuware.ocajp.i.v7.2.1257 :
Did you try it?
			
			
									
									
						- 
				girish_v
 - Posts: 7
 - Joined: Tue Apr 21, 2015 5:26 am
 - Contact:
 
Re: About Question enthuware.ocajp.i.v7.2.1257 :
yes got the answer.. when i saw empty switch, i thought like this
switch();
But tried and got the answer..
switch(8){
}
			
			
									
									
						switch();
But tried and got the answer..
switch(8){
}
Who is online
Users browsing this forum: No registered users and 37 guests