"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
What are the classes in the java collection framework? : java collections
what is mean by hasing and maping in java platform and advantage?
Which sorting algorithm is used by collections.sort() in java ?
please mail me the interview question based on java/j2ee
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What are maps interfaces in the java collections? : java collections
What is java collection? : java collections
my interviewer asked me what technical specification you used how to answer that question
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What are the types of interface used in the java collections? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
What is deque in the java collections framework? : java collections
What is the use of hashcode in java ?
What are the uses of the set interfaces in the java collections? : java collections
What are the different types of collections views being provided by the map interface? : java collections