adspace


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

Differentiate between static and non-static methods in java.

1135


explain different ways of using thread? : Java thread

1092


What is an object in java and how is it created?

1153


How to create a base64 decoder in java8?

1152


What do you mean by an interface in java?

1110


How to sort array in descending order in java?

1005


What is java string pool?

1091


Is minecraft 1.15 out?

1056


What is the difference between break and continue statements?

1135


What is the difference between equals() and == in java?

1050


What are the differences between heap and stack memory in java?

1152


Explain public static void main(string args[]) in java.

1089


What is a classloader in java?

1101


What is parsing in java?

1052


Write a program to find the whether a number is an Armstrong number or not?

1110