1. Which of the following creates a String named constant called partNo, whose value is AB45?





Write Comment

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Tags
Show Similar Question And Answers
QA->Currency whose face value is higher than the internal value is called?....
QA->For a body moving with constant speed in a horizontal circle; what remains constant?....
QA->For a body moving with constant speed in a horizontal circle, what remains constant?....
QA->Twice World Cup Football winners Argentina sacked their coach on April 10, 2017 after a string of poor results. ? Name that coach?....
QA->……..is a coin whose face value is more than the value of the metal?....
MCQ->Which of the following creates a String named constant called partNo, whose value is AB45?....
MCQ->Which of the following snippets are the correct way to convert a Single into a String? Single f = 9.8f; String s; s = (String) (f); Single f = 9.8f; String s; s = Convert.ToString(f); Single f = 9.8f; String s; s = f.ToString(); Single f = 9.8f; String s; s = Clnt(f); Single f = 9.8f; String s; s = CString(f);....
MCQ-> The English alphabet is divided into five groups. Each group starts with the vowel and the consonants immediately following that vowel and the consonants immediately following that vowel are included in that group. Thus, the letters A, B, C, D will be in the first group, the letters E, F, G, H will be in the second group and so on. The value of the first group is fixed as 10, the second group as 20 and so on. The value of the last group is fixed as 50. In a group, the value of each letter will be the value of that group. To calculate the value of a word, you should give the same value of each of the letters as the value of the group to which a particular letter belongs and then add all the letters of the word: If all the letters in the word belong to one group only, then the value of that word will be equal to the product of the number of letters in the word and the value of the group to which the letters belong. However, if the letters of the words belong to different groups, then first write the value of all the letters. The value of the word would be equal to the sum of the value of the first letter and double the sum of the values of the remaining letters.For Example : The value of word ‘CAB’ will be equal to 10 + 10 + 10 = 30, because all the three letters (the first letter and the remaining two) belong to the first group and so the value of each letter is 10. The value of letter BUT = $$10 + 2 \times 40 + 2 \times 50 = 190$$ because the value of first letter B is 10, the value of T = 2 $$\times$$ 40 (T belongs to the fourth group) and the value of U = 2 $$\times$$ 50 (U belongs to the fifth group). Now calculate the value of each word given in questions 161 to 165 :AGE
 ....
MCQ->Which of the following is correct way to convert a String to an int? String s = "123"; int i; i = (int)s; String s = "123"; int i; i = int.Parse(s); String s = "123"; int i; i = Int32.Parse(s); String s = "123"; int i; i = Convert.ToInt32(s); String s = "123"; int i; i = CInt(s);....
MCQ->Which of the following statements are correct? String is a value type. String literals can contain any character literal including escape sequences. The equality operators are defined to compare the values of string objects as well as references. Attempting to access a character that is outside the bounds of the string results in an IndexOutOfRangeException. The contents of a string object can be changed after the object is created.....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions