What is a class?

Answer Posted / madasamy.k

Collection of data members(Varibles) and methods(functions)
is called class

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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).

1671


What is encapsulation process?

584


This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

1641


What is polymorphism what is it for and how is it used?

576


program for insertion ,deletion,sorting in double link list

2283






What exactly is polymorphism?

612


what are the realtime excercises in C++?

2337


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(); }

1991


Is react oop?

612


What is polymorphism and why is it important?

562


2. Give the different notations for the class.\

1594


Can a varargs method be overloaded?

618


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2008


Is abstract thinking intelligence?

599


what are the ways in which a constructors can be called?

1585