Lab 2

 

Lab. Session 2. User Defined Ordinary method that returns value as Structured Programming element

Objectives:

The objective of this laboratory session is:

·        To use user defined ordinary method that returns a value as a structured programming element.

Learning Outcome:

At the end of this laboratory session, the student should be able to:

·                    Write Java program that uses user defined ordinary method that returns a value.

 

Theoretical Overview

Another element of structured programming is user defined ordinary method that returns a value. This is because user defined ordinary method that returns a value can be used to write a well structured program.


Exercise


Do Question 2



Comments

Popular posts from this blog

Lab 3

Assignment 2