Statements and Expressions are primary building blocks of any programming Language.
Expression :- Some thing you evaluate for it's value
eg:- Eval("2*3") , Eval("a*b+10")
Statement:- Something which you execute for it's Effect
Exec("a=b=2*3"); , Exec("b = 2*3");
After a statement is executed there is chance for state to be mutated ( state is managed by statements )
As per the above definition
STATEMENT means STATE MANAGEMENT
Expression :- Some thing you evaluate for it's value
eg:- Eval("2*3") , Eval("a*b+10")
Statement:- Something which you execute for it's Effect
Exec("a=b=2*3"); , Exec("b = 2*3");
After a statement is executed there is chance for state to be mutated ( state is managed by statements )
As per the above definition
STATEMENT means STATE MANAGEMENT
0 comments:
Post a Comment