Multiple choice technology programming languages

The following is NOT an example of a data type.

  1. int

  2. public

  3. button

  4. void

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The keyword public is an access modifier in languages like Java, C++, and C#, not a data type. Primitive types like int, object/component classes like button, and return types like void are all valid data types or type descriptors, making public the correct choice.