"Sun Certified Java Programmer" This is one String , we need
to print SCJP, write the java code dynamically? pls reply
this questions
Answer Posted / rakesh kumar mishra
public class Sample
{
public static void main(String args[])
{
String str = "Sun Certified Java Programmer";
StringTokenizer st=new StringTokenizer(str," ");
while(st.hasMoreTokens())
{
String value=st.nextToken();
System.out.println(value.charAt(0));
}
}
}
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is the use of the list interface in the java collection? : java collections
What are the uses of the set interfaces in the java collections? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
my interviewer asked me what technical specification you used how to answer that question
What is deque in the java collections framework? : java collections
What are the main classes of the list interfaces? : java collections
please mail me the interview question based on java/j2ee
What are the types of the main implementing classes in the map interfaces? : java collections
What are maps interfaces in the java collections? : java collections
What are the differences between the java collection and the java list? : java collections
Which interface does java.util.hashtable implement?
What do you understand by synchronization? Why is it important?
What are the different types of collections views being provided by the map interface? : java collections
What are the types of interface used in the java collections? : java collections
How do I find jre path in windows?