Java

Java is a simple, secured, high level, platform-independent, multithread, Object-oriented programming language.

 

It’s one of the most popular and widely used programming language, platform, and technology. Java is not only a language it is also a platform and technology.

 

Related Pages:-

String equalsIgnoreCase() Java

String equalsIgnoreCase() Java | The equalsIgnoreCase() is a built-in method in the Java string class that compares the two strings irrespective of their cases i.e. even if the string cases are different their cases will be ignored during the comparison. It is the same as the equals() method of the String class. The equalsIgnoreCase() method […]

String equalsIgnoreCase() Java Read More »

Java String getBytes() Method

Java String getBytes() | The getBytes() method of the Java String class encodes the string into the sequence of bytes and stores the same in the byte array. This is a sequence of bytes using the named charset where the result is stored in a byte array. The getBytes() method has three variations as follows:-

Java String getBytes() Method Read More »

Java replace() vs replaceAll() Method

Java replace() vs replaceAll() Method | Java has various methods and functions to manipulate strings. The replace() and replaceAll() methods are one of them. Even though both replace() and replaceAll() methods are used to replace characters or sub-string in the given string but they work differently. Let us see the difference between them. The method

Java replace() vs replaceAll() Method Read More »

Java String strip() Method

Java String strip() Method | The strip() method of the Java String class is used to remove leading and trailing spaces in the string. It can remove all unwanted spaces. The three variations of this method are shown below:- Below are the examples for all three variations of the String Strip Java:-1. String = ”

Java String strip() Method Read More »

Java String matches() Method

Java String matches() Method | The matches() method of the Java string class is used to check whether the given string matches the substring or not. It basically works on regular expression. We give some regular expressions as a parameter to the matches method and it checks for the same word in the string. Note:-

Java String matches() Method Read More »

Replace() In String Java

Replace() In String Java | Java string class provides a replace() method to replace or remove unwanted strings or characters. The replace() method is introduced since JDK 1.5. There are two variations in replace() method, below are the method details:- 1) public string replace(char oldchar, char newchar)Parameters:- oldchar- the character needed to be replacednewchar- is

Replace() In String Java Read More »

Convert String to ASCII Java

Convert String to ASCII Java | ASCII expands as American Standard Code For Information Interchange this is widely used to transfer the information or messages between the computers & it usually contains numerical, letters, and also other symbols. ASCII is a character encoding standard for electronic exchange. The ASCII values are case-sensitive hence it has

Convert String to ASCII Java Read More »