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

Answer Posted / karan

package test;
public class NewTest {

public static void main(String args[]) {

String[] strArr = strArr = "Sun Certified Java Programmer".split(" ");

System.out.println(strArr[0].charAt(0) + "" + strArr[1].charAt(0)+ "" + strArr[2].charAt(0)+ "" + strArr[3].charAt(0));
}
}

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I find jre path in windows?

531


Which sorting algorithm is used by collections.sort() in java ?

551


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

2565


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

597


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.

1590






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

610


can u draw class/object diagram for ATM

5531


What are the main classes of the list interfaces? : java collections

579


How is hashset maintained in memory by java ?

595


What are the types of java collections? : java collections

544


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

591


What is iterator in the java collections framework? : java collections

539


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

567


Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.

1602


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

1935