✅ 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?
Screenshot_2024-10-27_162058.png
Was this page helpful?