5 years ago in Introduction To Java

Which class does not override the equals() and hashCode() methods, inheriting them directly from class Object?

[A] java.lang.String
[B] java.lang.StringBuffer
[C] java.lang.Double
[D] java.lang.Character
Loading...
Next Question

Overall Stats

Attempted 276
Correct 86
Incorrect 71
Viewed 119

Answers

Guest
Guest
Tsega Asresa Mengistu
Tsega Asresa Mengistu - 2 days ago

Tsega Asresa Mengistu from Dessie, Ethiopia is saying java.lang.StringBuffer is correct answer

Utkarsh Sharma
Utkarsh Sharma - 3 weeks ago

Utkarsh Sharma from Dehradun, India is saying java.lang.StringBuffer is correct answer

Vaibhav Bisht
Vaibhav Bisht - 3 weeks ago

Vaibhav Bisht from Dehradun, India is saying java.lang.StringBuffer is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying java.lang.Double is correct answer

Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying java.lang.String is correct answer

Related Questions

java script is

  • [A] object based language
  • [B] object oriented language

Which among the following is the compulsory section of java program ?

  • [A] package Statement
  • [B] import Statement
  • [C] Documentation section
  • [D] Class declaration section

In which we clone the object and their constituent parts

  • [A] Shallow Cloning
  • [B] Deep cloning
  • [C] Both
  • [D] none

Which one of the following will declare an array and initialize it with five numbers?

  • [A] Array a = new Array(5);
  • [B] int [] a = {23,22,21,20,19};
  • [C] int a [] = new int[5];
  • [D] int [5] array;

Which interface does java.util.Hashtable implement?

  • [A] Java.util.Map
  • [B] Java.util.List
  • [C] Java.util.Hashtable
  • [D] None