Skip to main content
added 63 characters in body
Source Link
fastcodejava
  • 41.3k
  • 31
  • 142
  • 191

Yes static method cannot call non-static methods or variables of the class directly.

EDIT : One can create any local variables.

Yes static method cannot call non-static methods or variables directly.

Yes static method cannot call non-static methods or variables of the class directly.

EDIT : One can create any local variables.

Source Link
fastcodejava
  • 41.3k
  • 31
  • 142
  • 191

Yes static method cannot call non-static methods or variables directly.