Related MCQs
Which two statements are true about comparing two instances of the same class, given that the equals() and hashCode() methods have been properly overridden? If the equals() method returns true, the
What two statements are true about properly overridden hashCode() and equals() methods hashCode() doesn't have to be overridden if equals() is equals() doesn't have to be overridden if hashCode() is
Cosec²θ - cot²θ equals to
x = 0; if (x1.hashCode() != x2.hashCode() ) x = x + 1; if (x3.equals(x4) ) x = x + 10; if (!x5.equals(x6) ) x = x + 100; if (x7.hashCode() == x8.hashCode() ) x = x + 1000; System.out.println("x = " +
Which of these method of class String is used to compare two String objects for their equality? a) equals() b) Equals() c) isequal() d) Isequal()
Maneela, Raghu and Aravind have some jems with each of them. Five times the number of jems with Raghu equals seven times the number of jems with Maneela while five times the number of jems with Maneel
Elastic failure of a material occurs, when the tensile stress equals yield strength, yield point or the elastic limit. Also, the elastic failure occurs according to maximum strain theory, when the max
If a sine wave's frequency equals 25 MHz, its period equals _____
If the voltage between points A and B equals 9 V in the given circuit, then VR3 equals ______