Java Programming Language MCQ Java Language Fundamental
⚠ Report ✓ Question Verified Copy Link
public class X { public static void main(String [] args) { String names [] = new String[5]; for (int x=0; x < args.length; x++) names[x] = args[x]; System.out.println(names[2]); } }
and the command line invocation is
Learn More MCQ Questions from Java Programming Language MCQ Java Language Fundamental