Home / CSE MCQs / C#.Net MCQs :: Discussion

Discussion :: C#.Net MCQs

  1. Which of these data type values is returned by equals() method of String class?
  2. A.
    char
    B.
    int
    C.
    boolean
    D.
    All of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    equals() method of string class returns boolean value true if both the strings are equal and false if they are unequal.


Be The First To Comment