Answer Posted / pankaj kumar upadhyay
abstract class contain an abstract function as well asather functions and variableand it must be defind in derived class and here we no create an object,
ex:
an SBI bank which follow the RBI Rules including it own rules.
while an interface class can contain only an abstract function, not any other functions or variables butit also must be defined in derive class .here also we dont create ao object.
ex:
an RBI follow only itself rules
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is abstraction in oops with example?
What is meant by oops concept?
What is the benefit of oop?
How does polymorphism work?
What is class and object in oops?
What does and I oop and sksksk mean?
What are the three main types of variables?
What is overloading in oops?
What is an example of genetic polymorphism?
What is and I oop mean?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
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 the types of inheritance?
What is polymorphism and its types?
What is encapsulation example?