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

Answer Posted / dhinesh manthiram

class Krish {
public static void main(String args[]) {
String str = "Sun Certified Java Programmer";
String str2="";
for(int i=0;i<str.length();i++)
{
char c = str.charAt(i);
if(Character.isUpperCase(c))
{

str2 = str2+c;
}
}

System.out.println("Result="+str2);
}}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

777


Which java collection class can be used to maintain the entries in the order in which they were last accessed?

754


What do you understand by synchronization? Why is it important?

766


What is the Spring2.5 MVC Navigation flow?

5717


What is the enumerator of the java collection framework? : java collections

746






What are the types of the main implementing classes in the map interfaces? : java collections

819


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


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 are the queues in the java collection framework? : java collections

728


What are the different types of features of the java collections framework? : java collections

790


who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.

2026


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

756


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

2062


How do I find jre path in windows?

712


What are the types of java collections? : java collections

721