"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 different types of features of the java collections framework? : java collections

790


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

2748


How is hashset maintained in memory by java ?

813


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

715


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

2729






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

1788


What is the Spring2.5 MVC Navigation flow?

5717


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

774


Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance

2090


What is the use of hashcode in java ?

775


please mail me the interview question based on java/j2ee

1709


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

777


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

762


can u draw class/object diagram for ATM

5748


Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.

1781