Huawei Company Programming Arrays

Select the correct option.

a)ArrayList is synchronized and Vector is unsynchronized.

b)ArrayList is unsynchronized and Vector is synchronized.

c)Both ArrayList and Vector are synchronized.

d)Both ArrayList and Vector are unsynchronized.

Read Solution (Total 4)

Huawei Other Question

What is the correct signature of hashCode()?

a) int hasCode();
b) int hashCode(int);
c) int hashCode(int,int);
d) double hashCode();
How many polynomial functions f of degree >=1 satisfy f(X2) = (f(X)) 2 =f(f(X)).
[GCE, GUWAHATI]
a) 1 b) 0 c) 2 d) more than 2