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...


class{
...
...
interface myinterface{
...
...
}
abstract class{
..
..
}
...
..
..
}
is this possible to write "Interface and/ or Abstract class
inside a class ?
if possible whcich one is possible
is only interface?
is only abstract?

Answer Posted / karunakaran

I have tried it.It is working.We can have abstract class
and/or interface inside a class.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is function overloading in java?

1306


Can a class extend 2 classes in java?

1040


What are the different types of multitasking?

1108


What is meant by call by reference?

1009


What are the two basic ways in which classes that can be run as threads may be defined?

1075


Is main an identifier?

1014


Explain when we should make an instance variable private.

1127


What is the integer of 16?

976


How an object is serialized in java?

991


How many types of memory areas are allocated by jvm?

1045


What language is pass by reference?

1020


What is string data?

987


Define how objects are stored in java?

1068


What differences exist between iterator and listiterator?

1049


How to reverse string in java?

1209