My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.lineadecodigo.java.basico.arrays;

/**
* @file ArrayChar2String.java
* @version 1.0
* @author Linea de Codigo (http://lineadecodigo.com)
* @date 4-junio-2010
* @url http://lineadecodigo.com/java/convertir-un-array-de-caracteres-en-un-string/
* @description convertir un array de caracteres en una cadena de texto
*/

public class ArrayChar2String {

public static void main(String[] args) {

char miarray[] = {'A','V','I','L','A'};
System.out.println(String.valueOf(miarray));

}

}

Change log

r257 by vcuervo on Jun 4, 2010   Diff
[No log message]
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 541 bytes, 21 lines
Powered by Google Project Hosting