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

What is tochararray in java?

494


Explain the difference between comparator and comparable in java?

481


In java, how we can disallow serialization of variables?

550


What are internal and external variables?

538


What are design patterns and please explain?

566






What is function declaration?

521


What is printwriter in java?

509


Why can't we override private static methods?

511


How do you add spaces in java?

506


What is the difference in between cpp and java? Can u explain in detail?

598


How can you traverse a linked list in java?

674


How do you compare arrays in java?

494


What is Major and importance difference between for and foreach loop ?

570


What is the list interface?

602


What is constructor and its types?

535