Introduction to Java as a Second Language | Module 3

Course Name: Introduction to Java as a Second Language (Java as a Second Language Specialization)

Course Link: Introduction to Java as a Second Language

These are Introduction to Java as a Second Language Week 3 Quiz Coursera Answers


Q1. In Java, abstracted, real-world objects are called __________ .

  • classes
  • modules
  • properties

Answer: classes


Q2. Which of the following is NOT a Java data type?

  • int
  • String
  • boolean
  • tec

Answer: tec


Q3. True or False: Java functions never return data

  • True
  • False
Answer: False

Q4. Which of the following is NOT a visibility keyword?

  • public
  • private
  • only
Answer: only

These are Introduction to Java as a Second Language Week 3 Quiz Coursera Answers


Q5. True or False: An architectural model can be validated and readily moved to Java code.

  • True
  • False
Answer: True

Q6. Before we can build a Java class, we should ___________ .

  • manage memory usage and efficiency.
  • create functions to accept parameters and return values.
  • know how we should model the object.
Answer: know how we should model the object.

Q7. Java classes model objects and ________ . (Select two)

  • functions
  • behaviors
  • properties
  • visibility
Answer: behaviors, properties

Q8. Once built, _________ in the Java application can interact with one another.

  • classes
  • models
  • objects
  • parameters
Answer: objects

These are Introduction to Java as a Second Language Week 3 Quiz Coursera Answers


Q9. ________ are blocks of code within a class that drives object behavior.

  • Parameters
  • Data types
  • Functions
  • Values
Answer: Functions

Q10. Which of the following are NON-primitive data types?

  • String
  • void
  • Date
  • short
  • int
  • boolean
Answer: String, Date

These are Introduction to Java as a Second Language Week 3 Quiz Coursera Answers

See also  Introduction to Java as a Second Language | Module 5

More Weeks of the course: Click Here

More Coursera courses: https://progiez.com/coursera

Introduction to Java as a Second Language Week 3 Quiz