Is there is any error if you have multiple main methods in
the same class?

Answer Posted / devarathnam c,kotagudibanda(po

No error

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mnemonic in assembly language?

549


Can you call a method in a method?

527


What do you understand by access specifiers in Java?

582


Can a constructor be made final?

660


What is the default value of float and double datatype in java?

532






What are parameters in a method?

583


What is Java Package and which package is imported by default?

591


Is java still relevant?

496


Difference between predicate, supplier and consumer ?

576


How does the garbage collector works in java?

568


In a container there are 5 components. I want to display all the component names, how will you do that?

1557


What is compareto?

542


what is the final keyword denotes in java?

579


Can I declare a class as private?

586


What is meant by 'bit masking' in java?

642