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 the difference between final, finally and finalize()?

1237


Is string serializable in java?

1064


What do you mean by JVM?

1137


What is the Concept of Encapsulation in OOPS

1030


Can an interface have a class?

1041


What is unsigned char?

1127


What is the maximum size of hashmap in java?

1054


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

1042


What is a website container?

1004


How do you define a variable?

992


What is the difference between declaration and definition in java?

1149


What is the meaning of flag day?

1082


What do you mean by order of precedence and associativity?

996


When can we say that threads are not lightweight process in java?

1205


How does hashset work in java?

1177