About 50 results
Open links in new tab
  1. Manipulating Characters in a String (The Java™ Tutorials - Oracle

    Manipulating Characters in a String The String class has a number of methods for examining the contents of strings, finding characters or substrings within a string, changing case, and other tasks. …

  2. String (Java Platform SE 8 ) - Oracle Help Center

    String conversions are implemented through the method toString, defined by Object and inherited by all classes in Java. For additional information on string concatenation and conversion, see Gosling, Joy, …

  3. Strings (The Java™ Tutorials > Learning the Java Language - Oracle

    Strings, which are widely used in Java programming, are a sequence of characters. In the Java programming language, strings are objects. The Java platform provides the String class to create …

  4. String (Java SE 21 & JDK 21) - Oracle

    String c = "abc".substring(2, 3); String d = cde.substring(1, 2); The class String includes methods for examining individual characters of the sequence, for comparing strings, for searching strings, for …

  5. Arrays (The Java™ Tutorials > Learning the Java Language - Oracle

    For your convenience, Java SE provides several methods for performing array manipulations (common tasks, such as copying, sorting and searching arrays) in the java.util.Arrays class. For instance, the …

  6. Bitwise and Bit Shift Operators (The Java™ Tutorials - Oracle

    The Java programming language also provides operators that perform bitwise and bit shift operations on integral types. The operators discussed in this section are less commonly used.

  7. List (Java Platform SE 8 ) - Oracle Help Center

    Lists (like Java arrays) are zero based. Note that these operations may execute in time proportional to the index value for some implementations (the LinkedList class, for example). Thus, iterating over the …

  8. Arrays (Java Platform SE 8 ) - Oracle Help Center

    This class contains various methods for manipulating arrays (such as sorting and searching). This class also contains a static factory that allows arrays to be viewed as lists. The methods in this class all …

  9. File (Java SE 17 & JDK 17) - Oracle

    An abstract representation of file and directory pathnames. User interfaces and operating systems use system-dependent pathname strings to name files and directories. This class presents an abstract, …

  10. Uses of Class java.lang.String (Java SE 21 & JDK 21)

    This package contains the JDK's extension to the standard implementation of the java.lang.management API and also defines the management interface for some other components of the platform.