What is the difference between an object and a class?
Answer Posted / manas
a class is a datatype that abstratcs data and implementations
while an object is an instance of the class which wraps up data. An object has identity, state and behavior
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is enum a class?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
Templates mean
What is the full form of oops?
What is object in oop with example?
What is overloading in oops?
Why is polymorphism needed?
Why multiple inheritance is not possible?
which feature are not hold visual basic of oop?
What is the difference between procedural programming and oops?
Why is abstraction used?
What polymorphism means?
Why do pointers exist?
what is different between oops and c++