0

Is string is a datatype in java?

13th Oct 2016, 5:44 PM
Shafiya Nizam
6 Réponses
+ 1
Yes
13th Oct 2016, 5:50 PM
Zain Kalson
Zain Kalson - avatar
+ 1
yes, and it saves words
13th Oct 2016, 5:56 PM
Brian
Brian - avatar
+ 1
Thanks for your response
13th Oct 2016, 6:08 PM
Shafiya Nizam
+ 1
There are 8 primitive datatypes. String is derived datatype which stores group of characters.
14th Oct 2016, 11:26 AM
Anet
Anet - avatar
0
but there are only 8 datatypes??
13th Oct 2016, 5:54 PM
Shafiya Nizam
0
String is a class in java! and string is treated as an object in java through which you access all the methods.
14th Oct 2016, 12:52 PM
Chetan Sapra
Chetan Sapra - avatar