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

Java Convert char to int with examples

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

In this tutorial, we will see how to convert a char to int with the help of examples. Converting a character to an integer is… [Read More]

Tags: Java-Conversion

Java Convert char to String with examples

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

In this tutorial, we will see how to convert a char to string with the help of examples. There are two ways you can do… [Read More]

Tags: Java-Conversion

Java Convert long to int with examples

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

In this guide, we will see how to convert long to int with examples. Since long is larger data type than int, we need to… [Read More]

Tags: Java-Conversion

Java Convert int to long with examples

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

In this tutorial, we will see how to convert int to long with examples. Since int is smaller data type than long, it can be… [Read More]

Tags: Java-Conversion

Java int to double Conversion

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

In this tutorial, you will learn how to convert int to double in Java. Since double has longer range than int data type, java automatically… [Read More]

Tags: Java-Conversion

Java double to int Conversion

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

In this tutorial, you will learn how to convert double to int in Java. A double number contains decimal digits so when we convert it… [Read More]

Tags: Java-Conversion

Java – How to Convert a String to ArrayList

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

In this java tutorial, you will learn how to convert a String to an ArrayList. Input: 22,33,44,55,66,77 Delimiter: , (comma) Output: ArrayList with 6 elements… [Read More]

Tags: Java-ArrayList, Java-Conversion

Java – Writer to String conversion

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

package com.beginnersbook.string; import java.io.StringWriter; public class WriterToString {     public static void main(String args[]){         // create a new writer           StringWriter sw… [Read More]

Tags: Java-Conversion

Java – StackTrace to String conversion

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

There are times when we want to convert the occurred exception to String. In the following program we are converting the stacktrace to String by… [Read More]

Tags: Java-Conversion

Java long to String Conversion

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

In this guide, we will discuss the following ways to convert a long value to a String: Note: Out of all these ways, the String.valueOf()… [Read More]

Tags: Java-Conversion

Java – float to String conversion

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

We can convert a float to String using any of the following two methods: 1) Method 1: Using String.valueOf(float f): We pass the float value… [Read More]

Tags: Java-Conversion

Java int to String Conversion With Examples

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

In this guide, you will learn how to convert an int to string in Java. We can convert int to String using String.valueOf() or Integer.toString()… [Read More]

Tags: Java-Conversion

Java – boolean to String conversion

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

There are two methods by which we can convert a boolean to String: 1) Method 1: Using String.valueOf(boolean b): This method accepts the boolean argument… [Read More]

Tags: Java-Conversion

Java – ASCII to String conversion

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

In this tutorial we will learn how to convert ASCII values to a String. Example: Converting ASCII to String Here is the complete code wherein… [Read More]

Tags: Java-Conversion

Java – Convert double to string example

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

In this java tutorial, we will learn how to convert double to string in Java. There are several ways we can do this conversion –… [Read More]

Tags: Java-Conversion

  • « Previous Page
  • 1
  • 2
  • 3
  • 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 – 2025 BeginnersBook . Privacy Policy . Sitemap