"Sun Certified Java Programmer" This is one String , we need
to print SCJP, write the java code dynamically? pls reply
this questions

Answer Posted / qamrun nisa

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.print(value.charAt(0));
}
}
}

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the classes in the java collection framework? : java collections

582


what is mean by hasing and maping in java platform and advantage?

1822


Which sorting algorithm is used by collections.sort() in java ?

543


please mail me the interview question based on java/j2ee

1527


Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword

1604






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

563


What is java collection? : java collections

567


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

1927


Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.

1588


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

584


HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS

1572


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

534


What is the use of hashcode in java ?

568


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

530


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

606