That's OK. It's a somewhat more sophisticated technique than what you've been taught, which is unfortunate because you're only learning how to write very bad code right now. Very, very bad code.
If you defined your variables and a couple of methods like this:
This is an example of how you would use methods to break down your problem into smaller pieces. The code in your main method would just call the methods. You might notice that you already have the logic for rolledOne() and rolledSnakeEyes() somewhere in the
Big Ball of Mud that's in your main() method right now.
Notice, too, that I have given the class a name of "Pig" instead of the non-descriptive "fiveelevendriver" name that also violates
Java naming conventions. Class names in Java should start with a capital letter. The other class name you use that doesn't follow that convention either is the "fiveeleven" class that represents a dice. I have used the class name "Dice" instead in my example code above.