✅ static r public?
I was writing code something like this,
class Physics
{
public int Force;
}
and I was trying to access the Force variable I have, but it said I needed the variable to be static. Why was it asking me this when I already have public down?
2 Replies