Which programming language element is a code template that includes initial variables and functions for creating an object?

IT Exam Items Repository › Category: Ethical Hacker › Which programming language element is a code template that includes initial variables and functions for creating an object?

Which programming language element is a code template that includes initial variables and functions for creating an object?

  • Class
  • Function
  • Array
  • Procedure

Explanation: A class is a code template that can create different objects. It provides initial values for member variables and functions or methods.

Related exam: 10.3.3 Quiz - Tools and Code Analysis Answers