Given the code fragment:
What should be inserted at line n1 so that the code fragment prints Name is required?
name.trim() == '' ''
B name, isBlanl ()
name. compareTo('' '') == 0
name.isEmpty
Submit