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

The last day to drop from a full term 16 week course is March 21st so I still have time. I know a guy who barely passed with a C even though he has 70% on his first exam, 36 next, and 64 % last. But somehow deep down, I still hope I can pull a miracle and pass this course if I study really fucckin hard.