Understanding Integer Class Methods [toHextString(), toBinaryString(), parseInt(), max(), min()] in Java using Eclipse IDE

in #utopian-io6 years ago (edited)

In this tutorial, you will learn the following:

  • Integer Class Methods
    • Integer.toHexString()
    • Integer.toBinaryString()
    • Integer.parseInt()
    • Integer.max()
    • Integer.min()

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

In this tutorial, the user enters a value from the console and then the Hexadecimal and Binary Equivalent is being calculated using the toHexString() and toBinaryString() methods respectively.
After which the user enters two numbers and the maximum and minimum values are gotten using the Integer.max() and Integer.min() methods respectively.
Lastly the Integer.parseInt() method is being used to parse a String object into an Integer.

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:  

@edetebenezer, Approve is not my ability, but I can upvote you.

Thanks @steemitstats.
We all need the encouragement!

thanks, great tutorial! I need to teach myself java now for a class I am taking and your videos are very helpful.

@devohier am happy i could help.
Follow for more informative tutorials

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

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.030
BTC 61014.18
ETH 3412.53
USDT 1.00
SBD 2.52