Introduction to Java as a Second Language | Module 4

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 4 Quiz Coursera Answers


Q1. In Java, instantiation is the process where __________ .

  • The application runs
  • Object are built from classes
  • The application runs in an instant

Answer: Object are built from classes


Q2. True or False: In Java, an object is build from a class.

  • True
  • False

Answer: True


Q3. A constructor initializes the Java object at what time?

  • during development
  • run time
  • it never runs
Answer: run time

Q4. True or False: A Java class only has 1 constructor.

  • True
  • False
Answer: False

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


Q5. The main function is where ________ . (Select all that apply)

  • objects are instantiated from classes
  • data is entered
  • users login
  • business logic is run
Answer: objects are instantiated from classes, business logic is run

Q6. In Java, each object has a unique name.

  • True
  • False
Answer: True

Q7. A constructor is named the same as _______ .

  • the function
  • the class
  • the object
Answer: the class

Q8. Java selects the constructor based on how it is called _________ .

  • at runtime
  • in the main function
  • in its properties
  • in the class
Answer: in the main function

Q9. The business logic uses the ________ along with other code to satisfy the application’s requirements.

  • object’s class
  • instantiated objects
  • main function
Answer: instantiated objects

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

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

More Weeks of the course: Click Here

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

Introduction to Java as a Second Language Week 4 Quiz