Got a D- (19%) on my first Java class's exam :(

When I took data structures, I think anyone who got more than 40% at the end of the class got an A. I thought for sure I was going to fail, and I got a B for the class. You might want to find out whether this is one of those classes where everyone does badly, which means the professor will likely have to grade on an extreme curve.