"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
What do you understand by synchronization? Why is it important?
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What are the interfaces in java collections? : java collections
What is iterator in the java collections framework? : java collections
What are the uses of the set interfaces in the java collections? : java collections
Should we create system software ( e.g operating system ) in java ?
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
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
What is the use of the list interface in the java collection? : java collections
What is the use of hashcode in java ?
What are the different types of classes implemented in the set interfaces? : java collections
What is java collection? : java collections
can u draw class/object diagram for ATM
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?