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


How to excute - Interface - Inner class- method

can any one tell how to execute/ call this main method

public interface abc
{
static int i=0; void dd();
class a1
{
a1()
{
int j;
System.out.println("inside");
};
public static void main(String a1[])
{
System.out.println("in interfia");
}
}
}



How to excute - Interface - Inner class- method can any one tell how to execute/ call this main m..

Answer / lal ajith kumara

public class Test {
public static void main(String args[]){

abc.a1 classa1 = new abc.a1();
classa1.main(null);
}

}

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the preferred size of a component?

3 Answers   ITSA,


What is compareto?

0 Answers  


Can a double value be cast to a byte?

3 Answers  


Does string isempty check for null?

0 Answers  


What is the difference between the prefix and postfix forms of the ++ operator?

0 Answers  


How many static init can you have?

0 Answers  


What is the transient keyword?

4 Answers  


Difference between current previous versions of Java?

0 Answers   Atos Origin,


Default layout of Dialog object?

1 Answers  


What is casting?

5 Answers  


What is files manifesting?

0 Answers  


Why java does not supports multiple inheritance?

3 Answers   TCS, VSoft,


Categories