"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 are the differences between the java collection and the java list? : java collections

601


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

1822


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

593


can u draw class/object diagram for ATM

5524


my interviewer asked me what technical specification you used how to answer that question

1927






What is the difference between comparable and comparator in java.util pkg?

582


What are the types of interface used in the java collections? : java collections

584


What are the different types of classes implemented in the set interfaces? : java collections

595


What is an algorithm in java collection framework? : java collections

565


What are the interfaces in java collections? : java collections

603


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

2557


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

2528


What are the queues in the java collection framework? : java collections

540


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

561


What are the types of java collections? : java collections

534