Given the following definitions of a class:

a class is an extensible program-code-template for creating objects1

A class is the blueprint from which individual objects are created2

A class is a blueprint of an object3

A class is the template or blueprint from which objects are made4

What is the difference in meaning between the examples with "the blueprint/template" and the examples with "a blueprint/template"? Why "a blueprint/template" was not used in all the examples?


2The Official Java Tutorial


4Core Java Volume I--Fundamentals (10th Edition) by Cay S. Horstmann

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.