Issue with Java wanting a variable

Hi there:
Trying to create a game of Blackjack for a school assignment but getting hung up on a bit of code. I'm attempting to write a quick method to read what card it is and then assigning a value to it (For example, a card has a value within an Array list of TWO and I want to assign it a numerical value of 2.) However, Eclipse seems determined for me to use a variable of some kind in it. I've tried all the variations I can think of, to no avail. Any help? Thanks in advance!