What is a class?

Answer Posted / deepak saini

class is the collection of data and functions(methods)
which are used to collect that data.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between array and linked list in c?

593


Explain how do you convert strings to numbers in c?

591


Why do we use & in c?

583


How many loops are there in c?

571


What is null in c?

594






What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

897


Which is more efficient, a switch statement or an if else chain?

571


Why do we need functions in c?

551


If null and 0 are equivalent as null pointer constants, which should I use?

573


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

638


Explain how can I make sure that my program is the only one accessing a file?

616


How to write a code for reverse of string without using string functions?

1575


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

617


Is it acceptable to declare/define a variable in a c header?

678


Explain what are its uses in c programming?

590