What are the OOPS concepts?
Answer Posted / irfan jafree
oops concepts means to provide security of our data.
oops concepts are following ways:
Encapsulation: wrapping up of data and member function
together into a single unit class.
Abstraction: Showing essential feature without background
detail.
Inheritance: The property of one class inherited property
of other class.
Polymorphism: it means many form .They are two forms as:
Operator overloading and Function overloading.
| Is This Answer Correct ? | 95 Yes | 52 No |
Post New Answer View All Answers
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
explain sub-type and sub class? atleast u have differ it into 4 points?
How Do you Code Composition and Aggregation in C++ ?
Can a destructor be called directly?
What is the renewal class?
Whats is abstraction in oops?
Can you inherit a private class?
What is oops and its features?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is polymorphism give a real life example?
How to improve object oriented design skills?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
How do you use inheritance in unity?
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.
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’.