Ask your own question, for FREE!
Mathematics 20 Online
OpenStudy (anonymous):

if you are a programmer Which of the following variables are class types? char myChar = 'a'; String myGrade = "A"; Scanner kb = new Scanner(System.in); double myScore=90;

OpenStudy (dumbcow):

the Scanner

OpenStudy (dumbcow):

or kb

OpenStudy (anonymous):

Scanner

OpenStudy (dumbcow):

char, string and double are data types not classes

OpenStudy (dumbcow):

also look for the word "new" thats a give away for initializing a new class type

OpenStudy (anonymous):

new question Which of the following may be used as variable names in Java? Answer 1. rate1 2. 1stPlayer 3. myHello.java 4. long 5. TimeOff

OpenStudy (dumbcow):

rate1

OpenStudy (dumbcow):

TimeOff maybe??

OpenStudy (dumbcow):

not sure about caps rules

OpenStudy (anonymous):

TimeOff starts with caps so i'm not sure

OpenStudy (anonymous):

caps rule apply

OpenStudy (anonymous):

rate1 2. starts with a number 4.keyword

OpenStudy (anonymous):

thank you guys

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!