1. when you define a class, if you do not explicitely extend another class, your class is an extentsion of the _________ class
a. object
b. super
c. public
d. abstract
2.The object class ______ method coverts an object into a string that contains information about the object
a. equal()
b. setType()
c. toString()
d. speak()
3.The onject class equals() method returns a(n) ________ value indicating thether the object are equal
a. int
b. equals
c. null
d. boolean
please follow the following answer:
if you have a question please contact me
please mark this answer helpful
Explanation:
1- a)object - An object class is the parent class in Java by default because it is the top most class in all the code unless you did otherwise.
2- c)ToString() - this is a java built-in function that converts every class into a string for representation
3- d) boolean - this function simply tells us if this object is equal to that other object or not, it returns true if they are equal and false if they are not.
please mark this answer helpful it is important for me
Get Answers For Free
Most questions answered within 1 hours.