6 years ago in Java Classes And Methods

Which of these class is super class of every class in Java?

[A] String class
[B] Object class
[C] Abstract class
[D] ArrayList class
Loading...
Next Question

Overall Stats

Attempted 285
Correct 119
Incorrect 55
Viewed 111

Answers

Guest
Guest
Bharath
Bharath - 2 months ago

Bharath from Hyderabad, India is saying Object class is correct answer

shubham adne
shubham adne - 4 months ago

shubham adne from Pune, India is saying Object class is correct answer

noora k
noora k - 6 months ago

noora k from Abu Dhabi, United Arab Emirates is saying Abstract class is correct answer

Shams Alden Alali
Shams Alden Alali - 6 months ago

Shams Alden Alali from Amman, Hashemite Kingdom Of Jordan is saying Abstract class is correct answer

Shamsa hafeez
Shamsa hafeez - 7 months ago

Shamsa hafeez from Lahore, Pakistan is saying Object class is correct answer

Related Questions

What is the process of defining more than one method in a class differentiated by method signature?

  • [A] Function overriding
  • [B] Function overloading
  • [C] Function doubling
  • [D] None of the mentioned

Which of these statement is incorrect?

  • [A] All object of a class are allotted memory for the all the variables defined in the class.
  • [B] If a function is defined public it can be accessed by object of other class by inheritance.
  • [C] main() method must be made public.
  • [D] All object of a class are allotted memory for the methods defined in the class.

Which of these keywords cannot be used for a class which has been declared final?

  • [A] abstract
  • [B] extends
  • [C] abstract and extends
  • [D] None of the mentioned

Which of the following statements are incorrect?

  • [A] String is a class
  • [B] Strings in java are mutable
  • [C] Every string is an object of class String
  • [D] Java defines a peer class of String, called StringBuffer, which allows string to be altered.

Which method can be defined only once in a program?

  • [A] main method
  • [B] finalize method
  • [C] static method
  • [D] private method