0% found this document useful (0 votes)
52 views2 pages

Unit 6 - Lesson 1 - Fast Start

This document is a quiz in an online course on unit 6, lesson 1 about Java fundamentals. It contains 4 multiple choice questions about String methods, data types in Java, and the differences between primitive and class data types. The questions ask about the length method to get the size of a String, whether int is a primitive or class type, which type has built-in methods, and which can only hold one piece of data.

Uploaded by

Sollo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views2 pages

Unit 6 - Lesson 1 - Fast Start

This document is a quiz in an online course on unit 6, lesson 1 about Java fundamentals. It contains 4 multiple choice questions about String methods, data types in Java, and the differences between primitive and class data types. The questions ask about the length method to get the size of a String, whether int is a primitive or class type, which type has built-in methods, and which can only hold one piece of data.

Uploaded by

Sollo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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

You might also like