"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 are the differences between the java collection and the java list? : java collections

788


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

773


please mail me the interview question based on java/j2ee

1712


What is the use of hashcode in java ?

777


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

741






What is the difference between comparable and comparator in java.util pkg?

790


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

779


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

766


What are the interfaces in java collections? : java collections

830


HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS

1743


How is hashset maintained in memory by java ?

820


What are the types of java collections? : java collections

721


Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com

2734


What is the Spring2.5 MVC Navigation flow?

5720


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

1799