About 13,500,000 results
Open links in new tab
  1. Is String a Primitive or a Derived Type? - GeeksforGeeks

    Jun 28, 2022 · Definitely, String is not a primitive data type. It is a derived data type. Derived data types are also called reference types because they refer to an object. They call methods to …

  2. Java Data Types - W3Schools

    Data types are divided into two groups: Primitive data types - includes byte, short, int, long, float, double, boolean and char; Non-primitive data types - such as String, Arrays and Classes (you …

  3. Primitive Data Types (The Java™ Tutorials - Oracle

    The String class is not technically a primitive data type, but considering the special support given to it by the language, you'll probably tend to think of it as such. You'll learn more about the …

  4. Java String Data Type With String Buffer And String Builder

    Apr 1, 2025 · This video tutorial will explain all about Java String data type, how to create it, immutability, string buffer, and builder with examples: Since String is a non-primitive data type, …

  5. String datatype in java - Stack Overflow

    Apr 19, 2011 · String is a non premitive data type . You can use String as follows. case 1: monthName = "January"; break; case 2: monthName = "February"; break; case 3: monthName …

  6. String Data Type in Java - PrepInsta

    String is a Special Data type in java which is used to define a sequence of characters having a storage width equal to 2.14 Billion. In simple Language we can say that strings are the …

  7. Strings in Java - Sanfoundry

    Strings are one of the most commonly used data types in Java. A String is a sequence of characters, and in Java, it is an object of the String class. Unlike primitive data types, strings …

  8. Strings in Java Explained (with Examples) - codedamn

    Feb 8, 2023 · What is string data type? A string is a data type that is used for working with alphabetical characters in Java. As we write text in the English language, the string data type …

  9. String Data Type in Java - Know Program

    The string data type in Java is used for representing a sequence of characters placed in double quotation marks (""). It means for storing a sequence of characters as one group we must …

  10. Java Strings - W3Schools

    A String in Java is actually an object, which contain methods that can perform certain operations on strings. For example, the length of a string can be found with the length() method: There …

Refresh