📚 Practice Mode

ABAP Programming Fundamentals

Learn at your own pace with hints and detailed explanations

1 / 10
Multiple Choice

import java.lang.*; class A { public static void main(String[] args) { String s1=new String("TCS"); String s2="TCS"; System.out.println(s1==s2); System.out.println(s1.equals(s2)); } } What is the Result?

  1. Compile time error
  2. false true
  3. true false
  4. true true