Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

When we will use an Interface and Abstract class?

Answer Posted / ravikiran

interface is used when we want all the methods implement
the methods differnetly in different situations.

where as an abstract classis used to define abstarct as
well as non abstract methods

Is This Answer Correct ?    15 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object data type?

956


Write a code to show a static variable?

1043


Can anonymous class have constructor?

978


Is it possible to compare various strings with the help of == operator? What are the risks involved?

1032


How are the elements of a gridbaglayout organized?

1006


What is meant by main method?

1008


How to sort an array in java without using sort method?

855


How do you start a new line in java?

932


How does indexof work?

902


Which list does not allow duplicates in java?

879


Can we have multiple classes in single file ?

1018


How to compare two strings in java program?

1017


What are bind parameters?

993


What occurs when an object is constructed?

945


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

972