Hello,

What is the difference between public and Global variables ?

both of them are accessible for entire application. so what is the difference?

Where you will use global and where you will use public ?

please explain with examples (if possible)

Thanks