Important Java Mcq 1

An abstract data type typically comprises a _____ and a set of _____ respectively.

a. data representation, classes

a. database, operations

c. data representation, operations

d. control structure, operations

Answer:

c. data representation, operations.

Explanation

An ADT is a data type, where only behavior is defined but not implementation.
An ADT, generally, contains data representations and a group of operations performed
on the data.

Related MCQs

Which is the correct constructor of gridlayout?

a. GridLayout(int a) b. GridLayout(int num_rows, int num_columns) c. GridLayout(int rows, int cols, int vert) d. GridLayout(int hor) Answer: b. GridLayout(int num_rows, int num_columns) Explanation: All

Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?