aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Methods (GATE - CS)
  • Which of the following methods is/are present in the Inte...
Multiple choice

Which of the following methods is/are present in the Integer class in Java?

  1. isEqual(int x , int y )

  2. compareTo(Integer x)

  3. compare(int x, int y)

  4. Both 2 and 3

  5. 1, 2 and 3

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This answer is correct.

Keep practicing — related questions

  • Which of the following methods is/are present in the ArrayList class in Java?
  • Which of the following methods is/are defined in the String class for comparing the Strings?
  • Which of the following methods are defined in the String class for comparing the Strings?
  • Which of the following methods is/are defined in the String class for comparing the Strings?
  • Which of the following methods are defined in the String class for comparing the Strings?
  • Which of the following methods is/are defined in String class for comparing strings?
  • Select the one correct answer. Which method defined in Integer class can be used to convert an Integer obje...
  • Which of the following is class instance for the Primitive int?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Fundamentals (2381 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy