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

Answer Posted / mouli

In Interface,we cannot specify any definition inside but
where as class we can.

Is This Answer Correct ?    20 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 principles of oop?

608


What is encapsulation with example?

570


Which is better struts or spring?

612


can inline function declare in private part of class?

3651


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

936






Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

1776


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

687


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6135


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

1639


What is the example of polymorphism?

552


Why we use classes in oop?

571


What is overriding in oop?

544


What is a function in oop?

623


explain sub-type and sub class? atleast u have differ it into 4 points?

1828


What is overloading and its types?

608