"Sun Certified Java Programmer" This is one String , we need
to print SCJP, write the java code dynamically? pls reply
this questions
Answer Posted / sreekanth madamanchi
public class Sample {
public static void main(String args[]) {
String str = "Sun Certified Java Programmer";
String str2 = null;
for(int i=0;i<str.length();i++)
{
char c = str.charAt(i);
if(Character.isUpperCase(c))
{
if(str2 == null || str2 == "")
str2 = ""+str.charAt(i);
else
str2 = str2+str.charAt(i);
}
}
System.out.println("Result="+str2);
}
}
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
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.?.
What are the different types of features of the java collections framework? : java collections
What are the differences between the java collection and the java list? : java collections
What are the types of java collections? : java collections
Should we create system software ( e.g operating system ) in java ?
What are the different types of ways where you can iterate over a list? : java collections
can u draw class/object diagram for ATM
What are the uses of the set interfaces in the java collections? : java collections
What are the main classes of the list interfaces? : java collections
What is the use of the list interface in the java collection? : 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 use of hashcode in java ?
please mail me the interview question based on java/j2ee
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.
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?