+ 3

Just want to know whether "String" is a class or object in Java ?

1st Jul 2017, 1:58 PM
Ramesh
Ramesh - avatar
6 Réponses
+ 3
Technical both. A Class is a text blueprint for a object so String objects are based on the String class.
1st Jul 2017, 4:50 PM
josh mizzi
josh mizzi - avatar
+ 2
Object. But you can make it as a class
3rd Jul 2017, 12:27 AM
Jojo Sade
+ 2
it can be both but i'd say objec5
3rd Jul 2017, 9:43 AM
Oliver Jones
Oliver Jones - avatar
+ 2
object*
3rd Jul 2017, 9:44 AM
Oliver Jones
Oliver Jones - avatar
0
it's an object
7th Jul 2017, 10:12 PM
Денис Кобзарь
Денис Кобзарь - avatar