6 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

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 120
Correct 32
Incorrect 38
Viewed 50

Answers

Guest
Guest
Aarti Goyal
Aarti Goyal - 4 years ago

Aarti Goyal from Delhi, India is saying None of the mentioned is correct answer

Enas Adel
Enas Adel - 4 years ago

Enas Adel from Giza, Egypt is saying None of the mentioned is correct answer

Kuheli Mitra
Kuheli Mitra - 4 years ago

Kuheli Mitra from Bangalore, India is saying Class getclass() is correct answer

Ahmed Ashfaqh
Ahmed Ashfaqh - 4 years ago

Ahmed Ashfaqh from Mississauga, Canada is saying Class getclass() is correct answer

Dimana Ignatova
Dimana Ignatova - 4 years ago

Dimana Ignatova from Sofia, Bulgaria is saying get() is correct answer

Related Questions

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 these method of Object class can clone an object?

  • [A] Objectcopy()
  • [B] copy()
  • [C] Object clone()
  • [D] clone()