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

Answer Posted / jhonty

this is called data hiding.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of System class?

842


What is += mean in java?

765


How variables are declared?

731


What types of index data structures can you have in java?

853


What is polymorphism and what are the types of it?

706


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

746


Is vector ordered in java?

721


Write a function to print Fibonacci series and Tribonacci series?

949


Is age a discrete variable?

728


What do you mean by scope of variable?

665


What is size () in java?

817


How to declare an arraylist in java?

691


what do you understand by synchronization? : Java thread

778


How do I print a “?

769


Are arrays classes in java?

739