Help me in solving SYNJ4V2 problem

My issue

explain the reason

My code

class CodeChef
{
	public static void main (String args [])
	{
		System.out.println( 3 + 4 );
		System.out.println( 2 + 1 );
		
	}
}

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

@smujeeb7860
U have to print answers without space in the same line.
Like this:-

class CodeChef
{
	public static void main (String[] args)
	{
		System.out.print(3 + 4);
		System.out.print(2 + 1);
	}
}

In java there are two types to print output print and println. In this problem you have use println which print the output of the next command on next line but in the problem it is given that you have to print on the same line thus you should use print instead of println.