What is a class?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create object of interface?

597


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4231


Why is abstraction needed?

559


What is destructor give example?

595


program for insertion ,deletion,sorting in double link list

2274






can we make game by using c

3409


Can you explain polymorphism?

576


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

1973


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1628


What is difference between inheritance and polymorphism?

559


Which is better struts or spring?

610


What does sksksk mean in text slang?

1512


what's the basic's in dot net

1732


How do you explain polymorphism?

580


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1662