Describe what an Interface is and how it?s different from a
Class.

Answer Posted / kalaivani

interface is define as the declaration part of the function.
interface is differ from the class by class can access the
interface but interface cannot access the class

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 4 main oop principles?

944


Can an interface inherit a class?

779


What is an advantage of polymorphism?

819


what's the basic's in dot net

1923


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.

2824


what type of questions

1895


Who invented oop?

841


How Do you Code Composition and Aggregation in C++ ?

24715


when to use 'mutable' keyword and when to use 'const cast' in c++

1881


What is constructor in oop?

816


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2059


What is debug class?what is trace class? What differences are between them? With examples.

1850


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2366


Why is abstraction needed?

756


What is the oops and benefits of oops programming?

741