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 files manifesting?

0 Answers  


What is a java object and java application?

0 Answers  


What is the purpose of static keyword in java?

0 Answers  


Can we have try without catch block?

0 Answers  


can any body tell me? does advance java and j2ee both are same.

4 Answers   CTS, Infosys,


Why we use protected in java?

0 Answers  


When will we use them?

0 Answers  


can rmi and corba based applications interact ?

0 Answers  


What access modifiers can be used for variables?

0 Answers  


What is bytecode in java ?

0 Answers  


What is pass by value?

0 Answers  


What is literal example?

0 Answers  


Categories