Tutorialspoint.dev
Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
C C-Data Types C

Type Conversion in C

A type cast is basically a conversion from one type to another. There are two types of type conversion: Implicit Type Conversion Also known as ‘automatic typ...
Binary Search Tree Tree Amazon

Binary Tree to Binary Search Tree Conversion

Given a Binary Tree, convert it to a Binary Search Tree. The conversion must be done in such a way that keeps the original structure of Binary Tree. Examples. Examp...
C C++ C

Advanced C++ Conversion Operators

In C++, the programmer abstracts real world objects using classes as concrete types. Sometimes it is required to convert one concrete type to another concrete type or...
C C++ School Programming

Catch block and type conversion in C++

Predict the output of following C++ program. #include <iostream> using namespace std;    int main() {     try  &...
Java Java

Widening Primitive Conversion in Java

Here is a small code snippet given. Try to Guess the output public class Test {     public static void main(String[] args)  &#xA0...
Java Java

Type conversion in Java with Examples

When you assign value of one data type to another, the two types might not be compatible with each other. If the data types are compatible, then Java will perform the...
Java School Programming base-conversion

Different ways for Integer to String Conversions In Java

Convert using Integer.toString(int) The Integer class has a static method that returns a String object representing the specified int parameter. Syntax : public stat...
Java Java - util package Java-ArrayList

ArrayList to Array Conversion in Java : toArray() Methods

Following methods can be used for converting ArrayList to Array: Method 1: Using Object[] toArray() method Syntax: public Object[] toArray() It is specified by ...
Java Image-Processing Java

Image Processing in Java Set 4 (Colored image to Negative image conversion)

We strongly recommend to refer below post as a prerequisite of this. Image Processing in Java | Set 1 (Read and Write) Image Processing In Java | Set 2 (Get and set ...
Java Image-Processing Java

Image Processing in Java Set 3 (Colored image to greyscale image conversion)

We strongly recommend to refer below post as a prerequisite of this. Image Processing in Java | Set 1 (Read and Write) Image Processing In Java | Set 2 (Get and set ...

Subscribe to Our Newsletter