Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Have Programming Question? Ask it here!
 
 
 


arif ihsan
java
2 Answer(s)      4 years and a month ago
Posted in : Java Beginners


Hello,
how to convert string array to character array in java.kindly give an idea or write a code plz.
thanks

Advertisement
View Answers

August 18, 2010 at 10:45 AM


Hi Friend,

Try the following code:

class Convert
{
public static void main(String[] args) {
String st="Hello World";
char ch[]=st.toCharArray();
for(int i=0;i<ch.length;i++){
System.out.println(ch[i]);
}

}
}

Thanks


August 18, 2010 at 6:23 PM


hello,
how to convert this string array to character array.
String[] str={"da","234ab","dab","abb"};

please give reply for this problems

thanks a lot for your previous response


Related Tutorials/Questions & Answers:
java
java  diff bt core java and java
JAVA
JAVA  how the name came for java language as "JAVA
Advertisements
java
java   why iterator in java if we for loop
java
java  is java open source
java
java   What is ?static? keyword
java
java  RARP implementation using java socket
java
java  sample code for RARP using java
java
java  Does java allows multiline comments
Java
Java  how to do java in command prompt
java
java  give a simple example for inheritance in java
java
java  give a simple example for inheritance in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  Write a java code to print "ABABBABCABABBA
java
java  write a program in java to acess the email
java
java  send me java interview questions
java
java  how use java method
java
java  what are JAVA applications development tools
Java
Java   Whether Java is Programming Language or it is SOftware
java
java  hi im new to java plz suggest me how to master java....saifjunaid@gmail.com
java
java   How to set java Policy for applet using jdk 6
java
java pattern code for a given words  java pattern code for a given words pattern
java
java  dear, i want a field for date picker using java/java script
java
java  create java program for delete and update the details,without using database, just a normal java program
java
java  how to prepare the java   Hi Friend, If you want to learn how to install java, creating and running a java program then go through the following links: http://www.roseindia.net/java/beginners/index.shtml http
java
java  what is the need of java if java is not there what will happen... work unless you have Java installed, and more are created every day. Java... to scientific supercomputers, cell phones to the Internet, Java is everywhere! http
java
java  1.what type of inheritance supported in java. 2.what is the advantage of java over C++.   Hi Friend, Java supports following... inheritance Advantages of Java over C++: 1)Java is pure object oriented
java
java  how to run applets in java   Hi, In Java you can use Applet viewer to run the applet. Read more at Java Applet Viewer tutorial page. Thanks
java
java  what is java   Java is a programming language..., and business applications. Advantages of Java: * Java is simple, easy to design... programming languages. * Java is object-oriented, that is used to build modular
java
java  i need to draw a binary tree traversal in java applet
java
java  write a java program to print multiplication table
java
java  please suggest me the best books for learning efficient java
java
java  how to write a java program to solve a quadratic equation
Java
Java  How to define rich text box in java
java
java  hello sir,how to run a particular directory using java
Java
Java   What is the immediate superclass of the Dialog class
java
of java connection to the database to the java program   Hello Friend, Please visit the following link: Java Database Connectivity Here you will find several examples related to java database connectivity. Thanks
java
java  why we pass reference as a parameter in any java method
java
java  how to print special series using java literals
java
java  how to add two child threads in multi thread in java
java
java  use final and write a java code to calculate salary of an employee
java
java  write a java program to find greatest among three values
java
java  how to post a text on web page using java and xml
java
java  Im asking for simple java program with encapsulation pls
java
java  Im asking for simple java program with polymophysm pls
java
java  Im asking for simple java program of format I/O
java
java  How to attach java script for scrolling image in css
Java
Java  Why java called Purely object oriented
 

 

 

DMCA.com