What are the types of methods in java?



What are the types of methods in java?..

Answer / Anil Kumar Gautam

In Java, there are four types of methods: instance methods (accessible through an object), static methods (accessible without creating an object), constructor methods (used to create and initialize objects), and overloaded methods (methods with the same name but different parameters).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the purpose of a parameter?

1 Answers  


Can I declare class as static or private?

1 Answers  


how can you say that java is independ language

2 Answers   TCS, Wipro,


Why put method is idempotent?

1 Answers  


What is constant in programming?

1 Answers  


Do I need java on my computer?

1 Answers  


What class allows you to read objects directly from a stream in java programming?

1 Answers  


What is unmodifiable list in java?

1 Answers  


What are the 6 mandatory procedures for iso 9001?

1 Answers  


What is parameters example?

1 Answers  


What is the difference between Error, defect,fault, failure and mistake?

1 Answers   HCL,


Explain, java is compatible with all servers but not all browsers?

1 Answers  


Categories