Capgemini interview question

how will you compare two strings.

Interview Answer

Anonymous

30 Nov 2015

depends on the declaration. If literal notation has been used then directly using "==" else with "equals" method.

2