"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


Please Help Members By Posting Answers For Below Questions

What is the use of the list interface in the java collection? : java collections

594


What are the uses of the set interfaces in the java collections? : java collections

531


Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?

2557


my interviewer asked me what technical specification you used how to answer that question

1927


What is deque in the java collections framework? : java collections

536






What are the main classes of the list interfaces? : java collections

570


please mail me the interview question based on java/j2ee

1528


What are the types of the main implementing classes in the map interfaces? : java collections

606


What are maps interfaces in the java collections? : java collections

565


What are the differences between the java collection and the java list? : java collections

602


Which interface does java.util.hashtable implement?

663


What do you understand by synchronization? Why is it important?

564


What are the different types of collections views being provided by the map interface? : java collections

606


What are the types of interface used in the java collections? : java collections

584


How do I find jre path in windows?

518