Which of the following statements is false?
a. The default constructor does not initialize the class’s fundamental-type data members, but does call the default
constructor for each data member that’s an object of another class.
b. A string’s default constructor initializes the object to the empty string.
c. An uninitialized fundamental-type variable is implicitly initialized to zero.
d. If a class defines a constructor, the compiler will not create a default constructor for that class.
c. An uninitialized fundamental-type variable is implicitly initialized to zero.
You might also like to view...
Which of the following statements are true?
a. To override a method, the method must be defined in the subclass using the same signature and compatible return type as in its superclass. b. Overloading a method is to provide more than one method with the same name but with different signatures to distinguish them. c. It is a compile error if two methods differ only in return type in the same class. d. A private method cannot be overridden. If a method defined in a subclass is private in its superclass, the two methods are completely unrelated. e. A static method cannot be overridden. If a static method defined in the superclass is redefined in a subclass, the method defined in the superclass is hidden.
Create a Web page which applies the invert filter to an image if the user moves the mouse over the image.
What will be an ideal response?