1. Consider the following statements about Java variables Java variable must start with a letter or underscore or dollor sign.Java variable can not start with a digit.After the first character the variable can have any combination of letters or numbers.Capitalization of letters must be consistent. Which of the above are correct?





Ask Your Doubts Here

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

Comments

  • By: guest on 02 Jun 2017 01.02 am
    All these are correct for Java variables.
Show Similar Question And Answers
QA->Two statements are given followed by two conclusions I and II. You have to consider the two statements to be true even if they seem to be at variance from commonly known facts. You have to decide which one of the given conclusions is definitely drawn from the given statements. Statement : All virtuous persons are happy. No unhappy person is virtuous. Conclusions : I. Happiness is related to virtue II. Unhappy person is not virtuous.....
QA->A word is given in capital letters. It is followed by four words. Out of these four words, three cannot be formed from the letters of the word in capital letters. Point out the word which can be formed from the letters of the given word in capital letters— ARCHITECTURE....
QA->A statement followed by two assumptions I and II is given. You have to consider the statement to be true even if it seems to be at variance from commonly known facts. You are to decide which of the given assumptions can definitely be drawn from the given statement. Indicate which one of the four given alternatives is correct ? Statement : If more encouragement is given to Sports, Indians will win more gold medals at the Olympic Games. Assumptions : I. Indians do not win gold medals. II. More enc....
QA->“During my travels throughout the world, I have had the good fortune to come in contact with several saints and maharishis... But I have frankly to admit that I have never come across one who is spiritually greater than Swami Narayana Guru or a person who is at par with him in spiritual attainment.” Who paid tribute in the above words after visiting Sree Narayana Guru?....
QA->Which one of the following statements with regard to the "Make in India" initiative of the Government of India is not correct?....
MCQ->Consider the following statements about Java variables Java variable must start with a letter or underscore or dollor sign.Java variable can not start with a digit.After the first character the variable can have any combination of letters or numbers.Capitalization of letters must be consistent. Which of the above are correct?....
MCQ->Consider the following The first letter of a Java variable is lower case.Each successive word in Java variable begins with a capital letter.All other letters are lower case.A Java variable can have a digit as first character. Which of the above are correct?....
MCQ->If N = 196, the result of the following program will be

INTEGER N, DIGIT 1, DIGIT 2, DIGIT 3,
SUM
READ, N
DIGIT 1 = N - (N / 10) 10 N = N / 10
DIGIT 2 = N - (N / 10) 10 N = N / 10
DIGIT 3 = N - (N / 10) 10
SUM = DIGIT 1 + DIGIT 2 + DIGIT 3....
MCQ->Which of the following rules are used in choosing the repeating variables in dimensional analysis : 1. Repeating variables should include the dependent variables 2. Repeating variables should contain all primary units used in describing the variables in the problem 3. Repeating variables should combine among themselves. 4. Repeating variables should not contain the dependent variables. Select the correct answer using the codes given below :....
MCQ->Consider the following rules for constructing variable names in C It can have alphabets, digits or underscores but no other special character.The maximum number of characters is 8.The first character may be an alphabet or digit but not underscore. Which of the above are correct?....
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 | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution