Home
(current)
About
Tutorial
Technologies
C#
Deep Learning
Statistics for AIML
Natural Language Processing
Machine Learning
SQL -Structured Query Language
Python
Ethical Hacking
Placement Preparation
Quantitative Aptitude
View All Tutorial
Quiz
C#
SQL -Structured Query Language
Quantitative Aptitude
Java
View All Quiz Course
Q & A
C#
Quantitative Aptitude
Java
View All Q & A course
Programs
Articles
Identity And Access Management
Artificial Intelligence & Machine Learning Project
How to publish your local website on github pages with a custom domain name?
How to download and install Xampp on Window Operating System ?
How To Download And Install MySql Workbench
How to install Pycharm ?
How to install Python ?
How to download and install Visual Studio IDE taking an example of C# (C Sharp)
View All Post
Tools
Program Compiler
Sql Compiler
Replace Multiple Text
Meta Data From Multiple Url
Contact
User
Login
Register
FRESHER BELL ALL LANGUAGE ONLINE COMPILER
Java program to convert Character Array to String
Languages
Java
C
C-99
C++
C++ 14
C++ 17
PHP
Perl
Python 2
Python 3
Ruby
Go Lang
Scala
Bash Shell
SQL
Pascal
C#
VB.NET
Haskell
Objective C
Swift
Groovy
Fortran
Brainf**k
Lua
TCL
Hack
Rust
D
Ada
R Language
Free Basic
Theme
github
xcode
ambiance
monokai
chaos
chrome
Program
import java.util.*; public class StringToChar{ public static void main(String[] args){ char[] ch={'W', 'e', 'l', 'c', 'o', 'm', 'e',' ' , 'T', 'o',' ' , 'F', 'r', 'e', 's', 'h', 'e', 'r', 'b', 'e', 'l', 'l'}; String str1 = String.valueOf(ch); String str2 = new String(ch); System.out.println(str1); System.out.println(str2); } }
Run
Clear
Input
Output
Powered By Fresher Bell™
Similar Program
#
Program
Language
1
Java if else condition example 2
Java
2
Java While Loop Example
Java
3
Java program to find largest element of array
Java
4
Java program to convert hexadecimal to decimal
Java
5
Java If Else Condition Example
Java
6
Java program to calculate value using base and exponent ( power value ) using for loop
Java
7
Write a java program so that odd position char will be in uppercase & even will be lowercase
Java
8
Java program to get current date and time
Java
9
Write a program to find the score of repeating words/ word repetition
Java
10
Java Program to print a input entered by user
Java
11
Java Program to add two integer by taking input from user
Java
12
Java program to convert Map (HashMap) to List (ArrayList)
Java
13
Write a program to find the operator between number
Java
14
Write a program to find the order identification
Java
15
Java program to find the sum of natural number using recursion
Java
16
Java program to convert String to Character Array
Java
17
Java Logical And Operator Example
Java
18
Java Unary Operator Negating Example
Java
19
Java Program to Find the Largest Among Three Numbers using input taken from users- (if-else)
Java
20
Java program to check whether number is prime or not
Java
#
Program
Language
Copyright © 2020
Inovatik
- All rights reserved