Skip to main content
fix lang hint
Source Link
andrybak
  • 227
  • 1
  • 7

This class prints what is the meaning of life.

class MeaningOfLife { private static final String MEANING_OF_LIFE = "I love Java"; public static void main(String[] args) { System.out.println(MEANING_OF_LIFE); } } 
class MeaningOfLife { private static final String MEANING_OF_LIFE = "I love Java"; public static void main(String[] args) { System.out.println(MEANING_OF_LIFE); } } 

Yes, you read right.

This class prints what is the meaning of life.

class MeaningOfLife { private static final String MEANING_OF_LIFE = "I love Java"; public static void main(String[] args) { System.out.println(MEANING_OF_LIFE); } } 

Yes, you read right.

This class prints what is the meaning of life.

class MeaningOfLife { private static final String MEANING_OF_LIFE = "I love Java"; public static void main(String[] args) { System.out.println(MEANING_OF_LIFE); } } 

Yes, you read right.

Source Link

This class prints what is the meaning of life.

class MeaningOfLife { private static final String MEANING_OF_LIFE = "I love Java"; public static void main(String[] args) { System.out.println(MEANING_OF_LIFE); } } 

Yes, you read right.

Post Made Community Wiki by KonamimanStaffMod