So you're trying to make a game, without knowing how it works, to impress another developer? It sound's like you don't really know the language very well yet.

What tutorial do you keep referencing? You sound like you don't even know what you are learning.

My suggestion: Stop now and learn the language. When you are comfortable with Java, then you can begin to learn game development. Sorry if this post sound derogatory but it will probably be the best for you to take a step back and start from the beginning.

@Jacob Pickens If I understand the code correctly, that is not a good way to rotate and move an object because you will need those "magic numbers" to keep your car's rotation and direction the same. My advice would be to use vectors or at least some trig. With vectors you can do

1 2 3 4 5 6
| float speed = 5; Vector vector = new Vector(0, speed); vector.rotate(Math.toRadians(45)); x += vector.x; y += vector.y; |

Using trig is just as easy.

1 2 3 4 5 6
| float angle = 0; float speed = 5;
angle += 45; x += Math.sin(Math.toRadians(angle)) * speed; y += Math.cos(Math.toRadians(angle)) * speed; |