?
What will be the output of the following Java code snippet running with "java demo I write java code"?
What will be the output of the following Java code snippet running with "java demo I write java code"?
public class demo
{
public static void main(String args[])
{
System.out.println(args[0]+""+args[args.length-1]);
}
}
public class demo
{
public static void main(String args[])
{
System.out.println(args[0]+""+args[args.length-1]);
}
}
Join the Discussion
Login to post a comment or share your explanation.
Login