Java Programming and Technical Programming Arrays

how can we print a statement in java with out main method in the java 7 version

Read Solution (Total 12)

Java Other Question

Which is the correct option for comparing the contents of 2 String objects?
[1] == operator
[2] equals() method
[3] Both
whether java is purely object oriented ?