Understanding Methods (return type - boolean) in Java using Eclipse IDE

in #utopian-io7 years ago (edited)

In this tutorial, you will learn the following:

  • Methods(boolean return Type)

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

A boolean variable can only have two values, which are either true or false.
This is a continuation of the Method series.Therefore in the series on introduction to methods, a simple method that determines if a number is a Prime number or not is developed by receiving a value from the user and then return a boolean value based on if the number is a prime number or not.

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

Tutorial codes can be gotten from this github repository: https://github.com/generalkolo/Javacodes



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

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

Hey @kizilelma, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

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

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63834.78
ETH 2627.38
USDT 1.00
SBD 2.78