Can we have a method name same as class name in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is a default package ?

7 Answers  


In java, how many ways you can take input from the console?

0 Answers  


Can a static class have a constructor?

0 Answers  


Different types of modifiers?

8 Answers   RoboCom,


What is the difference between the prefix and postfix forms of the ++ operator?

0 Answers  






How to use string tokenizer class.

0 Answers  


What is final keyword?

0 Answers  


What happens when a class is made static like if a field or member is made static it becomes class variable and is shared by all the object of the class?

1 Answers  


What is == mean?

0 Answers  


what is difference between global methods and local methods?

1 Answers  


How can constructor chaining be done by using the super keyword?

0 Answers  


What type of variable is gender?

0 Answers  


Categories