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

Archives for December 2013

Java String to long Conversion

Last Updated: December 1, 2024 by Chaitanya Singh | Filed Under: java

In this tutorial, you will learn how to convert String to long in Java. We can use Long wrapper class for this purpose, this class… [Read More]

Tags: Java-Conversion

How To Convert InputStream To String In Java

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: java

Here is the complete example of how to read and convert an InputStream to a String. The steps involved are: 1) I have initialized the… [Read More]

Tags: Java-Conversion

Java Convert String to Double examples

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: java

In this guide we will see how to convert String to Double in Java. There are three ways to convert String to double. 1. Java… [Read More]

Tags: Java-Conversion

Java String to int Conversion

Last Updated: June 10, 2024 by Chaitanya Singh | Filed Under: java

In this tutorial, you will learn how to convert a String to int in Java. If a String is made up of digits like 1,2,3… [Read More]

Tags: Java-Conversion

Java – String regionMatches() Method example

Last Updated: November 3, 2022 by Chaitanya Singh | Filed Under: java

The method regionMatches() tests if the two Strings are equal. Using this method we can compare the substring of input String with the substring of… [Read More]

Tags: Java-Strings

Java – String matches() Method example

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: java

Method matches() checks whether the String is matching with the specified regular expression. If the String fits in the specified regular expression then this method… [Read More]

Tags: Java-Strings

Java – String toCharArray() Method example

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: java

The method toCharArray() returns an Array of chars after converting a String into sequence of characters. The returned array length is equal to the length… [Read More]

Tags: Java-Strings

Java String trim() and hashCode() Methods with examples

Last Updated: December 1, 2024 by Chaitanya Singh | Filed Under: java

In this  tutorial we will discuss Java String trim() and hashCode() methods with the help of examples. Java String trim() method signature It returns a… [Read More]

Tags: Java-Strings

Java – String getBytes() Method example

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: java

The getBytes() method encodes a given String into a sequence of bytes and returns an array of bytes. The method can be used in below… [Read More]

Tags: Java-Strings

Java – String getChars() Method example

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: java

The method getChars() is used for copying String characters to an Array of chars. public void getChars(int srcBegin, int srcEnd, char[] dest, int destBegin) Parameters… [Read More]

Tags: Java-Strings

  • 1
  • 2
  • 3
  • …
  • 10
  • Next Page »

Java Tutorial

Java Introduction

  • Java Index
  • Java Introduction
  • History of Java
  • Features of Java
  • C++ vs Java
  • JDK vs JRE vs JVM
  • JVM - Java Virtual Machine
  • First Java Program
  • Variables
  • Data Types
  • Operators

Java Flow Control

  • Java If-else
  • Java Switch-Case
  • Java For loop
  • Java while loop
  • Java do-while loop
  • Continue statement
  • break statement

Java Arrays

  • Java Arrays

OOPs Concepts

  • OOPs Concepts
  • Constructor
  • Java String
  • Static keyword
  • Inheritance
  • Types of inheritance
  • Aggregation
  • Association
  • Super Keyword
  • Method overloading
  • Method overriding
  • Overloading vs Overriding
  • Polymorphism
  • Types of polymorphism
  • Static and dynamic binding
  • Abstract class and methods
  • Interface
  • Abstract class vs interface
  • Encapsulation
  • Packages
  • Access modifiers
  • Garbage Collection
  • Inner classes
  • Static import
  • Static constructor

Java Exception Handling

  • Exception handling
  • Java try-catch
  • Java throw
  • Java throws
  • Checked and Unchecked Exceptions
  • Jav try catch finally
  • Exception Examples
  • Exception Propagation

Collections Framework

  • Collections in Java
  • Java ArrayList
  • Java LinkedList
  • Java Vector
  • Java HashSet
  • Java LinkedHashSet
  • Java TreeSet
  • Java HashMap
  • Java TreeMap
  • Java LinkedHashMap
  • Java Queue
  • Java PriorityQueue
  • Java Deque
  • Comparable interface
  • Comparator interface
  • Collections Interview Questions

MORE ...

  • Java Scanner Class
  • Java 8 Features
  • Java 9 Features
  • Java Conversion
  • Java Date
  • Java Multithreading
  • Java I/O
  • Java Serialization
  • Java Regex
  • Java AWT
  • Java Swing
  • Java Enum
  • Java Annotations
  • Java main method
  • Java Interview Q

Copyright © 2012 – 2026 BeginnersBook . Privacy Policy . Sitemap