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:-

Java Integer compareTo() Method

Java Integer compareTo() Method | In this blog we discuss the pre-defined method compareTo() given in the wrapper class. The compareTo() method takes an integer argument to compare, if both are equal then it returns 0 else if the integer is greater than the argument integer then returns a value that is greater than 0 else […]

Java Integer compareTo() Method Read More »

Compare Integer And Int Java

Compare Integer And Int Java | Here we see how to compare Integer and int in Java programming language. Both int and Integer seem the same but the main difference between them is int is a primitive data type whereas Integer is a Wrapper class. As int is a primitive data type it has less

Compare Integer And Int Java Read More »

Convert Integer To Byte In Java

Convert Integer To Byte In Java | In this blog, we will see how to convert the integer data type to byte data type. Both int and byte are primitive data types having wrapper classes Integer and Byte respectively, but the only difference is their capacity to hold the values. To convert Integer to Byte

Convert Integer To Byte In Java Read More »

Java.lang.integer Cannot Be Cast To Java.lang.boolean

Java.lang.integer Cannot Be Cast To Java.lang.boolean | While writing Java programs ClassCastException is one of the common exceptions we get due to incompatible conversions. In this post, we will discuss java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.Boolean (java.lang.Integer and java.lang.Boolean are in module java.base of loader ‘bootstrap’). Example-1: java.lang.integer cannot be cast to

Java.lang.integer Cannot Be Cast To Java.lang.boolean Read More »

Java StringUtils substring() Method

Java StringUtils substring() Method | In this blog, we study the substring method in the StringUtils class, this method returns the substring from the specified start and end index from the user. There are several variations in this method they are as follows:- 1) public static String substring(final String str, int start):- Gets a substring

Java StringUtils substring() Method Read More »