BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

What is do Keyword in Java

By Chaitanya Singh

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]

Posted Under: java

What is default Keyword in Java

By Chaitanya Singh

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]

Posted Under: java

What is a class Keyword in Java

By Chaitanya Singh

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]

Posted Under: java

What is char Keyword in Java

By Chaitanya Singh

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]

Posted Under: java

What is catch Keyword in Java

By Chaitanya Singh

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]

Posted Under: java

What is case Keyword in Java

By Chaitanya Singh

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]

Posted Under: java

Java Integer parseInt()Method

By Chaitanya Singh

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]

Posted Under: java | Tags: Integer

Java Integer numberOfTrailingZeros() Method

By Chaitanya Singh

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]

Posted Under: java | Tags: Integer

Java Integer numberOfLeadingZeros() Method

By Chaitanya Singh

The numberOfLeadingZeros() method of Integer class, returns number of 0’s bits before the first one-bit in the binary representation of the given int number. If… [Read More]

Posted Under: java | Tags: Integer

Java Integer longValue() Method

By Chaitanya Singh

The longValue() method of Integer class, returns the value represented by this Integer object as long. Since the size of long is greater than the… [Read More]

Posted Under: java | Tags: Integer

Java Integer intValue() Method

By Chaitanya Singh

The intValue() method of Integer class returns the value of this Integer object as int. You can use this method for Integer to int conversion…. [Read More]

Posted Under: java | Tags: Integer

What is byte Keyword in Java

By Chaitanya Singh

The byte keyword has following two usages in Java: byte data type byte return type of a method The byte keyword is used to define… [Read More]

Posted Under: java

What is break Keyword in Java

By Chaitanya Singh

The break keyword is used inside loops (for, while or do-while) or switch-case block. When used in loops: It ends the loop as soon as… [Read More]

Posted Under: java

What is a boolean Keyword in Java

By Chaitanya Singh

The boolean keyword has following two usages in Java: boolean data type boolean return type of a method The boolean keyword is a data type… [Read More]

Posted Under: java

What is abstract Keyword in Java

By Chaitanya Singh

The abstract keyword is used for classes and methods in Java. It is not an access modifier, but it is used to achieve abstraction in… [Read More]

Posted Under: java

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • …
  • 41
  • Next Page »

Copyright © 2012 – 2022 BeginnersBook . Privacy Policy . Sitemap