Write a program which explains us the difference between static and Non-static method.
It defines two methods to us.
Answers
Answered by
2
Answer:
Difference between static and non-static method in Java ... Static method uses compile time or early binding. Non-static method uses runtime or dynamic binding. Static method cannot be overridden because of early binding. Non-static method can be overridden because of runtime binding.
Difference between static and non-static method in Java ... Static method uses compile time or early binding. Non-static method uses runtime or dynamic binding. Static method cannot be overridden because of early binding. Non-static method can be overridden because of runtime binding.Explanation:
hope it's helpful for you
Similar questions