Global variables in Java


There is no global variables support in Java. Static variables can be used as an alternate solution for global variables.

Updated on: 30-Jul-2019

662 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements