== four spellings, one result == Hi Asha, 3 items, Rs 1499.50 Hi Asha, 3 items, Rs 1499.50 Hi Asha, 3 items, Rs 1499.50 Hi Asha, 3 items, Rs 1499.50 format == formatted == Formatter: true == formatted() on a text block == Invoice for Asha items : 3 total : 1,499.50 == printf returns the PrintStream, so calls chain == one two three == %n vs \n == true on this platform (line.separator is \n) == an array argument: spread as the varargs, unless you cast it to Object == x-1 p-q true