Java String Comparison

String class in Java provides different methods for comparing strings or substrings within strings. In this tutorial I will discuss about those Java string comparison methods.   equals() and equalsIgnoreCase() We can use equals() method to check equality of two strings. It has following syntax. Syntax boolean equals(String str)   Here str is the String …

Java String Comparison Read More »

Character Extraction in Java

There are several ways by which characters can be extracted from String class object. String is treated as an object in Java so we can’t directly access the characters that comprise a string. For doing this String class provides various predefined methods.   Character Extraction in Java charAt() charAt() method is used to extract a …

Character Extraction in Java Read More »

Installing C++ Compiler and IDE

Computer can’t directly understand the program that we write in C++ language. Compiler converts the program into machine language that is understand by the computer. As we already know C++ is a compiled language. This means that every source file needs to be converted into an intermediate code called the object code with the help …

Installing C++ Compiler and IDE Read More »