String and Character Data Representation in Java – Learn Java #6

Strings and Chars both play a similar role in the Java programming language. But how do we know when to use one or the other? This video tutorial should explain the pros and cons of both, and give you a good idea of which one to use and how they can be used in unison with each other.

——– Footnotes——–
We highly suggest you leave us any comments or feedback that would aid in bettering the production of these tutorials. Additionally, subscribing to us will help us to better engage you (the audience) such that we can improve our tutorials even further!

Please Consider Supporting This Channel via Subscribing:

Sign Up for Monthly (non-spam) updates:
Support Us:
Follow me on Twitter:

——– Suggested Reading ——–

Book: “Clean Code” – Robert C. Martin –

#programming #code #java






9 responses to “String and Character Data Representation in Java – Learn Java #6”

  1. Eric Weng Avatar

    Is there a similar charAt method for int's?


    Thanks for the time and efficient and informative tutorials.

  3. Arsalan Ghaffar Avatar

    thanks for video, but learn making effective videos , watchable on low resolution..

  4. buffdude623 Avatar

    I don't think any beginner programmers would understand this one. All the ones before this are fairly simple, but in this one you use a for loop – something that you hadn't previously explained, nor do you explain until a few more episodes. I think it'd be to your benefit to explain every single line of your code that is new. A beginner wouldn't know the syntax or function of a for loop (initializer, bounds, iteration), so they don't know how to write that one themselves. Just some food for thought.

  5. Cem Yesil Avatar

    The intros seem to be way too loud, I always turn it down and then up again for the intro, might be my sound settings though.

  6. Issac Gerges Avatar

    new StringBuilder("hello world").reverse().toString()

    Just messing, I understand the point of explaining. It might be helpful to explain why StringBuilder exists. (unlike you explained) Strings can't grow, every time we change it we need to make a whole new one. StringBuilder is a wrapper around a group of chars, and we can add to that list without creating a ton of strings. When we call toString, we're really saying to the StringBuilder "I'm ready for my String now"

  7. MrAverageMale Avatar

    Way over my head. I'm assuming this is advanced tutorials.

  8. bszent Avatar

    Thanks for making this!

  9. João Barreiros Avatar

    I would highly recommend changing the capture quality/rendering settings to display the video at a higher resolution. A good resolution is one that is the same your computer's monitor (since this recording is full screen). This is really the difference between reading clearly with no extra effort and making the same effort to stay focus on the matter at hand as to reading the code.

    I already know the basics of Java but I'm looking forward to this project since I enjoy video learning, and many classes have an unclear description/documentation.
    Good luck!

Leave a Reply

Your email address will not be published. Required fields are marked *