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 a native method?

2 Answers  


What type of variable is gender?

0 Answers  


What modifiers are used with an inner class which is a member of an outerclass?

1 Answers  


Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

0 Answers  


How to use string tokenizer class.

0 Answers  


What does || || mean in math?

0 Answers  


What is the difference between overloading and overriding a function?

13 Answers   eG Innovations, Infosys, TCS,


What are types of Java applications?

14 Answers  


Life Cycle of Thread

4 Answers   IBM,


What is an abstract class?

8 Answers   DBS, Wipro,


What is an empty class? What functionality does it offer in Java?

0 Answers   Deloitte, EXL, JPMorgan Chase,


what are three ways in which a thread can enter the waiting state? : Java thread

0 Answers  


Categories