tag:blogger.com,1999:blog-5761704305749784989.post627765592982864088..comments2023-06-09T08:08:11.383-04:00Comments on My Interpretations: Java Puzzle-1Anonymoushttp://www.blogger.com/profile/15544811657896402166noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5761704305749784989.post-54153855058834441552007-12-01T12:07:00.000-05:002007-12-01T12:07:00.000-05:00I think you're just asking what the difference is ...I think you're just asking what the difference is between | and ||, for which I implore you to look at the Java Language Specification, which covers it explicitly.<BR/><BR/>This isn't a tricky question, it's very basic Java.Ricky Clarksonhttps://www.blogger.com/profile/13845104548520132930noreply@blogger.comtag:blogger.com,1999:blog-5761704305749784989.post-64424045203882361652007-11-28T23:08:00.000-05:002007-11-28T23:08:00.000-05:00"The Ghost In Your Machine"-This snippet will defi..."The Ghost In Your Machine"-This snippet will definitely work. Try this out in your own IDE.Anonymoushttps://www.blogger.com/profile/15544811657896402166noreply@blogger.comtag:blogger.com,1999:blog-5761704305749784989.post-31899807171536935732007-11-28T13:37:00.000-05:002007-11-28T13:37:00.000-05:00I pipe symbol will not validate that code snippet ...I pipe symbol will not validate that code snippet either...<BR/><BR/>Is this a trick question or can you program in Java?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5761704305749784989.post-65919150383255874662007-11-28T07:05:00.000-05:002007-11-28T07:05:00.000-05:00Nothing will output.Nothing will output.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5761704305749784989.post-6929295376288824802007-11-28T02:55:00.000-05:002007-11-28T02:55:00.000-05:00this line :if (method() method())isnt correct so a...this line :<BR/><BR/>if (method() method())<BR/><BR/>isnt correct so an error is outputted...<BR/><BR/>if it was correct like:<BR/><BR/>if (method() == method())<BR/><BR/>the output is stmt1Anonymousnoreply@blogger.com