Java String equals() The Java String class equals() method compares the two given strings based on the content of the string. If…
Java Technology
-
-
Java String startsWith() The Java String class startsWith() method checks if this string starts with the given prefix. It returns true if…
-
Non-primitive data types in Java Data types define the type of data that is stored in the variable. The type specifies the…
-
How to Split a String in Java with Delimiter? In Java, splitting string is an important and usually used operation when coding.…
-
Java String substring() The Java String class substring() method returns a part of the string. We pass beginIndex and endIndex number position…
-
Hashing Techniques in Java The hash function is a key-value mapping function. When two or more keys are mapped to the same…
-
How to avoid null pointer exception in Java? Null Pointer Exception is a kind of run time exception that is thrown when…
-
Identifiers in Java Identifiers in Java are symbolic names used for identification. They can be a class name, variable name, method name,…
-
Java String intern() The Java String class intern() method returns the interned string. It returns the canonical representation of string. It can…
-
How to Capitalize the First Letter of a String in Java? In programming, most of the time we have to deal with…