What is a class?
Answers were Sorted based on User's Feedback
Answer / kalpana.t
class is a template that combines both data and function
into a single unit.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / amanpreet kaur
class is a object and object contain data and functions.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vijai prakash maurya
Class is the Collection of Methods and Datafield, in other
word we can say class is user defined Data Types
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / hima
A class is a template or a blueprint of a user-defined type
which can contain data and methods.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / veera theavn.m
A class is group of logically related data item.It has
function of properties and methods.
A class is a blue print of objects.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / priya
class is a collecetion of data members and member
functions .it is also a user defined data type...
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / apurva jain
A class is a logical Representation of Objects and Methods.
IT is also a User Defined Datatype.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / ranveer singh
class is caintener that cantain user defind
data(varible)and fuction
as
class ranveer
{ variable x , y;
.......
}
| Is This Answer Correct ? | 0 Yes | 0 No |
What is pointer in oop?
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
What are virtual functions?
swapping program does not use third variable
How can you overcome the diamond problem in inheritance?
Is html an oop?
What do you mean by stack program? Get me an example stack program?
what is namespace? what are the uses of namespace?
What are the features of oop?
What is abstract class in oop?
what is the drawback of classical methods in oops?
What is encapsulation c#?