user100DaysOfCode
CommunityDevTermsResources|Login

Loading

Java Roadmap

Day 12: StringBuffer and StringBuilder

Write a program that performs the following tasks:
  • Initialise a StringBuffer with value "Hello" and append a space and "World" and print it
  • Initialise a StringBuilder with value "Hello" and append a space and "World" and print it

Reading List:
1. Learn the difference between String, StringBuffer and StringBuilder.
2. Learn when StringBuffer and StringBuilder should be preferred over String.
<Prev|Next>

Learning Resources |View Complete Plan

Looking for puzzle challenges?

Hangman

Guess the word before the man falls

Word Ladder

Change one letter, climb to the top

Cows & Bulls

Crack the secret 4-digit code

Daily Puzzles App

15+ word & logic games. Build your daily streak!

App Store

      Sponsor Us|Community|Blog|Youtube|DLPCareersContact UsDisclaimerPrivacy PolicyTerms of Service
      Have Feedback or want to contribute? Email: hello[@]100DaysOfCode.io
      100DaysOfCode@2024