5 years ago in Java Classes And Methods

Which of these method of Object class is used to obtain class of an object at run time?

[A] get()
[B] void getclass()
[C] Class getclass()
[D] None of the mentioned
Loading...
Next Question

Overall Stats

Attempted 249
Correct 62
Incorrect 89
Viewed 98

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 1 week ago

Shamsa hafeez from Lahore, Pakistan is saying get() is correct answer

Zo Go
Zo Go - 1 month ago

Zo Go from Casablanca, Morocco is saying get() is correct answer

Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying void getclass() is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying get() is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying get() is correct answer

Related Questions

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 of these class is super class of every class in Java?

  • [A] String class
  • [B] Object class
  • [C] Abstract class
  • [D] ArrayList class