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 / ranganathkini

Yes it is possible to write nested interfaces/abstract
classes inside another class.

Hope it is possible! :-)

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is tostring () method?

1034


What are the different access modifiers available in java?

1044


What is garbage collector?

1082


What is difference between checked and unchecked exception in java?

1020


What is tochararray in java?

939


What is a class variable?

1041


What do you mean by stream pipelining in java 8?

1229


What things should be kept in mind while creating your own exceptions in java?

1164


Why java uses the concept of the string literal?

1063


Explain the difference between treeset and treemap in java?

972


What is the access scope of a protected method?

1033


How is java created?

946


Explain numeric promotion?

1106


how do I create a runnable with inheritance? : Java thread

981


What is the use of static class?

1191