What is a class?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can private class be inherited?

611


Is this job good for future? can do this job post grduate student?

1685


can inline function declare in private part of class?

3651


What is abstraction oop?

615


What polymorphism means?

614






• What are the desirable attributes for memory managment?

1719


What is object in oop?

671


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.

1630


Which method cannot be overridden?

572


What are classes oop?

592


any one please tell me the purpose of operator overloading

1959


Can we override main method?

596


Can destructor be overloaded?

591


What are properties in oop?

595


What are constructors in oop?

583