Cursussen
InloggenBegin met het leren van AI
Cursussen
InloggenBegin met het leren van AI
+ 2

What is the most efficient way to manipulate string in java?

as java strings are immutable so they cant be changed!!! how to change some characters or words efficiently without using substrings!?

javastringsstringprogramming
19th Feb 2018, 3:43 AM
Sayan Banerjee
Sayan Banerjee - avatar
1 Antwoord
+ 2
There is a class called string builder that answers your questions. https://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html
19th Feb 2018, 7:04 AM
Nitzan
Nitzan - avatar

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Sololearn course
1 Votes
Best language?
0 Votes
solo learn program issue - iPhone?
1 Votes
How do I keep myself motivated in coding
0 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
I am learning javascript intrmdt but when I play a code challenge. The app is givin me comlecated questions with less time.why?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes