Question: I. True or False (Write your answer in the space provided before each question) _(1) An instance of a class is another word for an

I. True or False (Write your answer in the space provided before each question) _(1) An instance of a class is another word for an actual object of the same class. _(2) Java uses pointers explicitly. (3) A Java program name can be different from the class name in the program. _(4) Java is not case sensitive. _(5) When a class is defined, Java compiler allocates the space in the memory for the class. _(6) Java provides a default constructor even if you define your own constructor for a class. _(7) Java allows a method to have the same name as an inherited method from a superclass. _(8) A Java program can contain more than one class definition. (9) Java automatically initializes all variables when they are declared including local variables. _(10) Java's constructor does not return any data, hence the return type is void. . (11) Class constructors can be overloaded. _(12) In Java an array is an object. _(13) In Java a string 356" can be explicitly converted to an integer using casting: (int) 123"; _(14) The expression 5/6*(2+4) evaluates to 5. (15) A class can extend multiple classes. _(16) When declaring a variable within a class and declaring and using the same variable name within a method of the class, the class variable takes precedence (17) Java allows multiple constructors for a class. (18) Java uses pass-by-value mechanism when passing an array into a method. _(19) After two objects cusl and cus2 are instantiated from a class called Savings Account, each object stores a separate copy of any static member data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
