An empty switch block is a valid construct.
How is this correct?
About Question enthuware.ocajp.i.v7.2.1257 :
Moderator: admin
-
- Posts: 7
- Joined: Tue Apr 21, 2015 5:26 am
- Contact:
-
- Site Admin
- Posts: 10036
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1257 :
Did you try it?
If you like our products and services, please help us by posting your review here.
-
- 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 52 guests