Method Invocation : semantics
8
Main method
Operating
System
Rect.Area(….)
Area
method
1
2
4
5
6
1. OS to main method
2. Main method execution
3. Invoke Area
4. Transfer control to Area
5. Execute Area method
6. Return control back to
main method
7. Resume executing main
8. Exit to OS
3
7
8
Previous slide
Next slide
Back to first slide
View graphic version