| 9. | Which of the following will be the correct output for the C#.NET code snippet given below? String s1="Kicit"; |
|||||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
| 10. | Which of the following snippets are the correct way to convert a Single into a String? 1 Single f = 9.8f; 2 Single f = 9.8f; 3 Single f = 9.8f; 4 Single f = 9.8f; 5 Single f = 9.8f; |
|||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
| 11. | What will be the output of the C#.NET code snippet given below? namespace IndiabixConsoleApplication |
|||||||||
Answer: Option E Explanation: No answer description available for this question. Let us discuss.
|
| 12. | If s1 and s2 are references to two strings, then which of the following is the correct way to compare the two references? |
|||||||||
Answer: Option E Explanation: No answer description available for this question. Let us discuss.
|
| 13. | Which of the following will be the correct output for the C#.NET code snippet given below? String s1 = "Nagpur"; |
|||||||||
Answer: Option E Explanation: No answer description available for this question. Let us discuss.
|
| 14. | The string built using the String class are immutable (unchangeable), whereas, the ones built- using the StringBuilder class are mutable. |
|||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 15. | Which of the following statements will correctly copy the contents of one string into another ? |
|||||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
| 16. | Which of the following will be the correct output for the C#.NET code snippet given below? String s1 = "ALL MEN ARE CREATED EQUAL"; |
|||||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
