what is data abstraction with example.
Answer / vaishali
The concept of abstraction relates to the idea of hiding data that are not needed for presentation. The main idea behind data abstraction is to give a clear separation between properties of data type and the associated implementation details.
This separation is achieved in order that the properties of the abstract data type are visible to the user interface and the implementation details are hidden.
Thus, abstraction forms the basic platform for the creation of user-defined data types called objects.
Data abstraction is the process of refining data to its essential form.
| Is This Answer Correct ? | 3 Yes | 0 No |
You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.
What is the main difference between C++ and Java
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
what is the difference between function template and template of function?explain with example.
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.
What is class and object with example?
What is polymorphism in oops?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
what is the new version of oops
Explain the concept of abstracion and encapsulation with one example. What is the difference between them?
What is multiple inheritance? Give Example
How can you overcome the diamond problem in inheritance?