Please check & correct my code
@nagar123ashish
you are gettting rthe error illegal start of expression.
There are 3 ways in which we can get “illegal start of expression” error.
- Missing curly braces
- Method inside method
- public, protected or private access modifier inside method
refer to this corrected code
1 Like