Capgemini Interview Question

how will you compare two strings.

Interview Answer

Anonymous

Nov 30, 2015

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

2