"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 are the differences between the java collection and the java list? : java collections
What are the types of interface used in the java collections? : java collections
please mail me the interview question based on java/j2ee
What is the use of hashcode in java ?
What are the uses of the set interfaces in the java collections? : java collections
What is the difference between comparable and comparator in java.util pkg?
What are the different types of collections views being provided by the map interface? : java collections
What are the main classes of the list interfaces? : java collections
What are the interfaces in java collections? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
How is hashset maintained in memory by java ?
What are the types of java collections? : java collections
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
What is the Spring2.5 MVC Navigation flow?
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.