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,026

hi,

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

thanks,

bala

hi,

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

thanks,

bala

3 REPLIES 3
Read only

matt
Active Contributor
930

Have you tried it? What happened?

Read only

bala_krishna007
Participant
0 Likes
930

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

Read only

matt
Active Contributor
930

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