can you use the two main method in same class?how?

Answer Posted / rajasekhar

yes

it is possible by using static inner class concept

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we modify the throws clause of the superclass method while overriding it in the subclass?

815


Does java support Operator Overloading?

847


What is the difference between preemptive scheduling and time slicing?

862


Why string is immutable or final in java

882


Can you sort a list in java?

771


What do you understand by final value?

822


What is concurrent hashmap and its features?

803


What's the access scope of protected access specifier?

805


What are different ways of object creation in java ?

811


What is a pattern what is an anti pattern?

730


What carriage return means?

739


What is string made of?

762


What is the importance of static variable?

843


What is constructor and its types?

814


What do you mean by data type?

806