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 the purpose of format function?

0 Answers  


Print Vertical traversal of a Binary Tree.

0 Answers   Amazon,


What is close method? How it's different from Finalize & Dispose?

0 Answers   InfoAxon Technologies,


How do you reverse sort in java?

0 Answers  


Are maps ordered java?

0 Answers  


What are data structures in java?

0 Answers  


Implement a stack with push (), pop() and min() in O(1) time.

0 Answers   Amazon,


how we can make a write-only class in java?

0 Answers  


What is core java used for?

0 Answers  


How does hashmap work in java ?

0 Answers  


Can I import same package/class twice?

0 Answers  


Explain when we should make an instance variable private.

0 Answers  


Categories