Is Strings object? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is Strings object?

It says that Strings are an object. But some ppl are saying it is just data type, others that it is class. I am confused. Can anyone explain that? Thanks!

17th May 2017, 7:32 AM
Bekzod Hakimov
Bekzod Hakimov - avatar
1 Answer
+ 2
pepole doesnt know how to say it short in simple: in java EVERTHING and EVERYTHING is an OBJECT and yes its an datatype it stores data
1st Jun 2017, 7:32 PM
Sarah kerr
Sarah kerr - avatar