Osveh interview question

How would you make a class immutable? horizontal vs vertical scaling? Nonfunctional specifications of software development? Memory allocation on JVM?