If I do args.length(); it is showing compilation error where as args.length is working fine.
but if it is not command line argument for eg. String str = "hello";
in this str.length is not working but str.length() is working fine.
please help!