Computer Science, asked by sssssspriyam10, 6 months ago

Write the difference between a static function and non static function in java ​

Answers

Answered by nabeelkingpro
2

Answer :

A static method can access only static members and can not access non-static members. A non-static method can access both static as well as non-static members. Static method uses complie time binding or early binding. Non-static method uses run time binding or dynamic binding.

Similar questions