Arrays on C# related Questions and Answers - Page 2

Question 11 : Which of these is used to access members of class before the object of that class is created?
1. public
2. private
3. static
4. protected
View Answer   Discuss with Members

Question 12 : Which of these is used as a default specifier for a member of the class if no access specifier is used for it?
1. private
2. public
3. public, within its own class
4. protected
View Answer   Discuss with Members

Question 15 : Which of these methods of class String is used to extract all the characters from a String object?
1. CHARAT()
2. Remove()
3. charAt()
4. Replace()
View Answer   Discuss with Members

Question 16 : Which of these methods can be used to convert all characters in a String into a character array?
1. CharAt()
2. getChars()
3. TocharArray()
4. All of the mentioned
View Answer   Discuss with Members

Question 17 : Which of these methods is an alternative to getChars() that stores the characters in an array of bytes?
1. getBytes()
2. GetByte()
3. giveByte()
4. Give Bytes()
View Answer   Discuss with Members

Question 18 : Which of these methods of the class String is used to obtain length of String object?
1. get()
2. Sizeof()
3. lengthof()
4. length()
View Answer   Discuss with Members

Question 20 : Which of these methods of class are used to remove the leading and backward whitespaces?
1. startsWith()
2. trim()
3. Trim()
4. doTrim()
View Answer   Discuss with Members


View 11 - 20 of 39 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter