Java Programming and Technical Programming Functions

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

Read Solution (Total 34)

Java Other Question

Can we create a String object by using an array of characters?
[1] If Yes, then how?
[2] If No, then why?
how can we print a statement in java with out main method in the java 7 version