Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

class statement inside start of selection

bala_krishna007
Participant
0 Likes
1,037

hi,

why we should not write class definition and implementation inside a start-of-selection statement.

thanks,

bala

Well, there you have you answer. You shouldn't do it because it is syntactically incorrect.

3 REPLIES 3
Read only

matt
Active Contributor
941

Have you tried it? What happened?

Read only

bala_krishna007
Participant
0 Likes
941

yes I tried and its throwing a syntax error as statements a

Read only

matt
Active Contributor
941

Well, there you have you answer. You shouldn't do it because it is syntactically incorrect.