Help me in solving STRJ1V2 problem

My issue

why is fruit not in double quotes?

My code

class Codechef
{
	public static void main (String[] args)
	{
		// your code goes here
		String fruit = "Apple";
		System.out.print("fruit");
	}
}

Learning course: Learn Java
Problem Link: CodeChef: Practical coding for everyone

@payal37
because fruit is the string type variable that stores the string namely “Apple”.
and your task is to print “Apple”. , which is stored in fruit.
So to print a variable to have to write it as it is which any “”.
like this

class Codechef
{
	public static void main (String[] args)
	{
		// your code goes here
		String fruit = "Apple";
		System.out.print(fruit);
	}
}