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

IT Questions BankCategory: Ethical HackerWhich 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.

Exam with this question: 10.3.3 Quiz - Tools and Code Analysis Answers

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments