1/27/2021 Unit 6: Lesson 1 - Fast Start
Students have either already taken or started taking this quiz, so be careful about editing it. If you
change any quiz questions in a significant way, you may want to consider regrading students who
took the old version of the quiz.
Points 4 Locked Published
Details Questions
Show Question Details
Question 1 pts
Which method tells you how long a String is:
size
Incorrect. Not sure? Review String functions.
getBytes
Incorrect. Not sure? Review String functions.
nswer length
Correct! Nice job.
All of the items listed.
Incorrect. Not sure? Review String functions.
None of the items listed.
Incorrect. Not sure? Review String functions.
Question 1 pts
https://intro.edhesive.com/courses/46041/quizzes/3508270/edit 1/3
1/27/2021 Unit 6: Lesson 1 - Fast Start
Is an int a class data type or a primitive data type?
class
Incorrect. Review the Java types.
nswer primitive
Correct. Primitive data types like int can only hold 1 piece of data in Java.
Question 1 pts
Which data type has built in methods, class or primitive data types?
nswer class
Correct! Nice Job
primitive
Incorrect. Review the types available in Java.
Question 1 pts
Which data type can only hold one piece of information at a time, class or primitive data types?
class
Incorrect. Review the types available in Java.
nswer primitive
Correct! Nice Job
https://intro.edhesive.com/courses/46041/quizzes/3508270/edit 2/3