help me with classes
Firdavs02 (0)

We are learning Java classes and were assigned to write the math quiz we with classes. It's been only few months I've been learning Java, but i have big problems

You are viewing a single comment. View All
a5rocks (732)

@Firdavs02
1) in Grade's getGrade function, you capitalize Grade instead of using grade.

2) in the class Grade, you use getLetterGrade instead of getGrade.

3) the grades should be strings (e.g. "A")

4) the initializer (factory, whatever it is called) tries to find the variable correct, but can't. Same for several other variables.

There might be more errors, but that's the gist of it.