Public Class Test
{
private static int count=10;
public void method()
{
}
}
Whats the importance of having private static variables?
Type: Posts; User: tcstcs
Public Class Test
{
private static int count=10;
public void method()
{
}
}
Whats the importance of having private static variables?
What is the importance of having variables declared as "Private Static". Y can't we just have only private variables?