Which statement is true about classes? -blueprint -special functions | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

Which statement is true about classes? -blueprint -special functions

Hi, I got the following question in a challenge and I don't know the answer. Asked by Eres Gilloway: Which statement is true about classes? A) blueprint for creating objects B) none of these C) primitive data type D) special functions Primitive data types are int, byte and so on. A class has functions/methods. I never heard the word "blueprint". Could you please help me? Best regards Marvin

29th Mar 2017, 1:26 PM
Marvin Hollmann
Marvin Hollmann - avatar
3 Respostas
+ 10
Class is the blueprint for creating objects. A class defines data members and object has values for data members. A class has member functions to operate on data members and each object can invoke member functions to operate on its values of data members.
29th Mar 2017, 2:01 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 1
A classĀ is an extensible program-code-template for creatingĀ objects, providing initial values and implementations of behavior. A blueprintĀ is a reproduction of aĀ technical drawing, documenting anĀ architectureĀ or an engineeringĀ design. They both have the same purpose of design/create template for the creation.
29th Mar 2017, 2:09 PM
Felipe Cruz
Felipe Cruz - avatar
0
Awe
15th Aug 2019, 2:47 PM
Mnqobi Sanele