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 program compilation process?

1094


How do you print array in java?

977


How we create object in copy constructor?

1102


What is anti pattern in java?

956


What is the difference between multitasking and multithreading in Java

1167


How hashmap works in java?

1033


Explain the difference between abstract classes and interfaces in java?

1147


What does isempty () do in java?

1044


What about main() method in java ?

1011


What do you mean by JVM?

1061


How does queue work in java?

969


What is difference overloading and overriding?

1147


What is bufferedwriter?

964


What do you mean by local class?

996


What is the purpose of a transient variable?

1039