Answer Posted / t.ramu(9703233794)
Because of the entire code in the program is depend upon
the object only,through the object only we can call the
data and the normal methods/functions.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation and abstraction? How are they implemented in C++?
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.
Why do we use inheritance?
What are the advantages of polymorphism?
Can a destructor be called directly?
Can we create object of abstract class?
What is the difference between abstraction and polymorphism?
What is overriding in oops?
What are the three parts of a simple empty class?
What is the important feature of inheritance?
Who invented oop?
What is a null tree?
Plese get me a perfect C++ program for railway/airway reservation with all details.
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?
write a program to find 2 power of a 5digit number with out using big int and exponent ?