Describe what an Interface is and how it?s different from a
Class.
Answer Posted / priaynk
Interface is an idea about the functionalities provided.
class will define the rules for that idea
object is the real entity which takes it into reality.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Why is object oriented programming so hard?
what are the realtime excercises in C++?
what are the ways in which a constructors can be called?
What are classes oop?
What is abstraction and encapsulation?
why reinterpret cast is considered dangerous?
Why do we use oops?
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 abstraction in oop with example?
What is inheritance write a program to show use of inheritance?
What is a superclass in oop?
Can we create object of abstract class?
what are the different types of qualifier in java?
What is object in oop?
Can we override main method?