how can we acess the string class using object | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

how can we acess the string class using object

25th Apr 2018, 12:51 PM
Karankumar
2 ответов
+ 1
String my_string = new String("text"); my_string is now a String object, so you can use: my_string.function to use class functions.
26th Apr 2018, 10:55 PM
Bram
+ 1
thanks a lot
27th Apr 2018, 2:08 AM
Karankumar