The private keyword is an access modifier in java. It can be used for variables, methods, constructors and inner classes. Note: The private is the… [Read More]
What is new Keyword in Java
The new keyword is used to create an object of a class. How to use the new keyword? The following syntax is used to create… [Read More]
What is long Keyword in Java
The long keyword is a primitive data type in Java. Similar to int data type, it is used to store whole numbers. The range of… [Read More]
What is int Keyword in Java
The int keyword is a primitive data type in Java. An int data type can hold values ranging from -231(-2147483648) to 231-1 (2147483647). public class… [Read More]
Java instanceof With Examples
The instanceof keyword is an operator in java. It checks if the given object is an instance of a specified class or interface. It returns… [Read More]
What is float Keyword in Java
The float keyword is a data type in Java, which is used for floating point values. The range for float data type is 3.4e-038 to… [Read More]
What is double Keyword in Java
The double keyword is a data type which is used to store decimal point values ranging from 1.7e-308 to 1.7e+308. This range is represented in… [Read More]
What is do Keyword in Java
The do keyword is used along with while keyword to form a do-while loop. do{ //body of do-while }while(condition); Example of do keyword public class… [Read More]
What is default Keyword in Java
The default keyword is used inside switch block to mark a default case. Example of default keyword in switch block Used to specify a default… [Read More]
What is a class Keyword in Java
The class keyword is used to create a class in Java. A class contains variables, methods, etc. A java code cannot execute without a class…. [Read More]
What is char Keyword in Java
The char keyword is a data type. You can store a character such as ‘A’, ‘a’ etc to the char variable. Important Points: The value… [Read More]
What is catch Keyword in Java
The catch keyword is used in a try-catch block. A catch block is always comes after a try block, if any exception occurs inside try… [Read More]
What is case Keyword in Java
The case keyword is used inside switch block. Together they form a switch-case block which is used to evaluate condition and execute a corresponding case… [Read More]
Java Integer parseInt()Method
Java Integer parseInt() method returns int value after parsing the given string using the specified radix. If radix is not provided, then it uses 10… [Read More]
Java Integer numberOfTrailingZeros() Method
The numberOfTrailingZeros() method of Integer class, returns number of zero-bits after the last one-bit in the binary representation of the given int number. Returns 32… [Read More]
- « Previous Page
- 1
- 2
- 3
- 4
- 5
- 6
- …
- 43
- Next Page »