Control Structres in Java


The statements or code you write in your program normally get executed in a sequential manner, one after the other.

However, through a process called Transfer of Control we can ensure that the next statement is not necessarily the next one sequentially.

Transfter of Control can be achieved via Control Structures. Conrtol structures allow us define how and when certain statements will be met.

Here are some examples of Control structures:

  • Loops
  • If then statements.
  • Switch statements

How do You Feel after reading this?

According to scientists, we humans have 8 primary innate emotions: joy, acceptance, fear, surprise, sadness, disgust, anger, and anticipation. Feel free to tell us how you feel about this article using these emotes or via the comment section. This feedback helps us gauge our progress.

Help me Grow.

I set myself some growth ambitions I desire to achieve by this year's end regarding this website and my youtube channel. Am halfway. Help me reach them by:




Recommendations


What do You Think


Previous Post Next Post