Sunday, October 26, 2014

String Methods in Java.

SN Methods with Description 1char charAt(int index)  Returns the character at the specified index. 2int compareTo(Object o)  Compares this String to another Object. 3int compareTo(String anotherString) Compares two strings lexicographically. 4int compareToIgnoreCase(String str)  Compares two strings lexicographically, ignoring case differences. 5String concat(String str) Concatenates the specified string to the end of this string. 6boolean contentEquals(StringBuffer sb)  Returns true if and only if this String represents the same sequence of characters as the specified StringBuffer. 7static String copyValueOf(char[] data)  Returns a String that represents the character sequence in the array specified. 8static String copyValueOf(char[] data, int offset, int count) Returns...

Friday, October 24, 2014

Dev 401 Salesforce (SFDC) certification Question and Answers

Dev 401 Salesforce (SFDC) certification Question and Answers 1  1). Universal Containers has built a recruiting application with 2 custom objects, Job Applications and Reviews that have a master-detail relationship. Users should NOT be allowed to delete review records after job application records have been approved. How would a developer meet this requirement? a.  Change the interviewer’s profile to Read-only for the review object b. Remove the delete button from the job application page layout c.  Use workflow to change the page layout to Read-only d. Use a validation rule in conjunction with a roll-up summary field Ans:  d   2).A developer needs to support multiple currencies for a custom object in an application. The multi-currency...
Page 1 of 10312345Next

 
| ,