Answer Posted / poorna chandar rao
diffrence bettwen the abstract class and interfaces
abstract class is having abstarct methods and concrete
methods abstarct class as compulosry having subclass for the
implementation abstarct methods and abstarct does not
support multiple inheritence
because one subclass extend the abstract class their is no
scope for extends for another class because it is not
support for the multiple inheritence
ex 1: abstract class one
2 class two extends one extend three (not valid)
but interface having only method signature in the interface
their is concrete method and it supports the multiple
inhirtence because
ex: interface one
class two implements one extends three(valid)
onc class implemens the interface and extends to another
class that is support the multiple inhertince
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can we create object of interface?
Why oops is important?
Why is oop useful?
What does I oop mean?
What are the three main types of variables?
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.
What is data binding in oops?
How does polymorphism work?
What are the types of abstraction?
what type of question are asked in thoughtworks pair programming round ?
what's the basic's in dot net
What is the difference between encapsulation and polymorphism?
What is the renewal class?
What is a superclass in oop?
What are the 4 pillars of oop?