Unable to move ahead in this exercise

I am using the code:

public class IfElseIf {
public static void main(String args) {
int fuelLevel = 3;
char canDrive = ( fuelLevel > 0 ) ? ‘Y’ : ‘N’;



But its not working, and i am unable to move ahead in this exercise, please help

Is this the lesson you are having trouble with?


If so, it would appear you have made some unnecessary changes.