function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AntonPavlovAntonPavlov 

how to pass variables between classes in apex?

I want to create a class where I will have all the variables and then call the variables in other classes where I need to reolize it in the apex. I only need it in the apex classes. In other programming languages there are imports, but how can I do this??
AbhishekAbhishek (Salesforce Developers) 
For suggestions check this,

https://developer.salesforce.com/forums/?id=906F00000008xGdIAI

https://salesforce.stackexchange.com/questions/209327/pass-value-from-class-to-another-class

I hope it helps.