Understanding SWITCH Statement in Java using Eclipse IDE

in utopian-io •  7 years ago  (edited)

In this tutorial, you will learn the following:

  • Conditional Statement (Switch Statement). Switch Statement is a conditional statement meaning that a certain condition being true will cause a particular block of code to be executed and being false will thereby cause another block of code to be executed.

You would need the following inorder to following this tutorial:

  • An Integrated Development Environment(IDE) installed that can run Java (e.g Netbeans, Eclipse)
  • JDK 1.X installed on your Pc
  • Of course willingness to learn

Difficulty

  • Intermediate

Description

The Switch statement is being explained here and a simple application is created where the user inputs a certain value ranging from 1 - 7 and then is being firstly told what day of the week the value stands for (i.e 1 = Monday, 5 = Friday).
The Application is then changed to indicate if the value enetered falls under Week days or Week ends (i.e Monday is Week Day and Friday is Weekend)

Video Tutorial Link:

Curriculum

Below are a list of related videos that will make you understand this better!

Tutorial Logo

NB: This video has only being shared on my Youtube Channel



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @edetebenezer I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x