Is String a primitive or an Object in Android or Java?

view full story

http://stackoverflow.com – As per Android API http://developer.android.com/guide/topics/data/data-storage.html#pref Shared Preference allows you to save and retrieve persistent key-value pairs of primitive data types. You can use SharedPreferences to save any primitive data: booleans, floats, ints, longs, and strings. is String a primitive data type or an Object? Thanks in advance. (HowTos)