tag:blogger.com,1999:blog-1650595113147353769.post5602010349273224331..comments2023-11-05T01:48:08.208-07:00Comments on Java: Print any text without using semicolon in the programAntony Vincent Pandian.S.http://www.blogger.com/profile/03217831378764121785noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1650595113147353769.post-26214681748094723862008-08-24T09:53:00.000-07:002008-08-24T09:53:00.000-07:00Hi Gayannr,Your answer is correct when the java ve...Hi Gayannr,<BR/>Your answer is correct when the java version is greater than 1.5<BR/><BR/>The printf method is not present in versions before 1.5Antony Vincent Pandian.S.https://www.blogger.com/profile/03217831378764121785noreply@blogger.comtag:blogger.com,1999:blog-1650595113147353769.post-56733847953427433202008-07-02T21:47:00.000-07:002008-07-02T21:47:00.000-07:00class semicolon{ public static void main(String ar...class semicolon<BR/>{<BR/> public static void main(String args[])<BR/> {<BR/> if(System.out.printf("hellow world")==System.out.printf(""))<BR/> {<BR/> //nothing in here<BR/><BR/> }<BR/> }<BR/>}GayanNRhttps://www.blogger.com/profile/17063007018553623789noreply@blogger.com