Examlex

Solved

A Computer Store Advertises to Sell a Particular Laptop Model

question 79

Multiple Choice

A computer store advertises to sell a particular laptop model at a discounted price.When a customer visits the store to purchase the discounted model, he is informed that it is out of stock.The salesperson then tries to sell him a different model that is priced higher than the model for which he had come.This action of the salesperson is an example of:


Definitions:

Operator New

In languages like C++ and Java, it's used to allocate memory for a new object or array from the heap.

Specific Type

Refers to a particular data type defined in a programming language that specifies the nature and characteristics of data that a variable can hold.

Initialization Statement

A statement in programming where variables are initially assigned a value.

Formal Parameters

Formal parameters are variables used in a function or method definition, representing the arguments that the function can accept when it is called.

Related Questions