Huawei Company Category

Which excess modifier is applicable to an interface?

a)public
b)protected
c)private
d)all of these

Read Solution (Total 4)

Huawei Other Question

Find the wrong option
Class B extends A

a)A a=new A();
b)B b=new B();
c)A a=new B();
d)B b=new A();
What is the correct signature of hashCode()?

a) int hasCode();
b) int hashCode(int);
c) int hashCode(int,int);
d) double hashCode();