CP2 UE Midterm Exam Questions & Answers 2024

Page 1

MIDTERM EXAM (Concepts)

Due Feb 28 at 11:59pm Points 65 Questions 65

Available Feb 27 at 12pm ­ Feb 28 at 11:59pm 1 day Time Limit 80 Minutes

This quiz was locked Feb 28 at 11:59pm.

Aempt History

Attempt Time Score LATEST Attempt 1  45 minutes 65 out of 65

Score for this quiz: 65 out of 65

Submitted Feb 27 at 1pm This attempt took 45 minutes.

Question 1

Which of the following are considered members of a class?

Private instance variables and methods.

Correct! Correct!

All instance variables and methods.

Non­static instance variables and methods.

Public instance variables and methods.

Question 2

Given the following class definition, which of the following are NOT considered part of the class’s public interface?

1 / 1 pts

1 / 1 pts

public class Motorcycle https://www.studymerit.com/document-preview/cp2-ue-midterm-exam-questions-answers-2024-1718535234

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.