If your class application is denied, you will need to look for other classes to take. With very few exceptions, class application denials are final and the decision can't be challenged. Denials could be due to a variety of reasons, such as the class being at capacity or the class being limited to degree-seeking UC Berkeley students. Sometimes, departments make comments in the class application that could give you additional information, but this is not a requirement.