r/AskComputerScience • u/MembershipOptimal514 • May 07 '26
AP CS A Statics Question
Hi, I’m somewhat new to java and I’m quite confused on static. So what I do know is that it makes it so a variable or method is tied to the whole class instead of just the object but I’m not sure what that exactly ENTAILS. Can someone explain it to me maybe with an example or such? Thank you.
5
Upvotes
View all comments
Show parent comment
1
u/MembershipOptimal514 May 07 '26
Thanks a lot, it’s not loading right now but I’ll check it out when I get home!