System.out.println(-1); I know output will be -1 but what is -1 . Integer Or String? what Java Consider : when we write System.out.println(-1); then in this example? Java Consider -1 as Integer OR String? out of this Line is -1.