5 years ago in Java Classes And Methods

What is the return type of a method that does not returns any value?

[A] int
[B] float
[C] void
[D] double
Loading...
Next Question

Overall Stats

Attempted 279
Correct 169
Incorrect 22
Viewed 88

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 3 days ago

Shamsa hafeez from Lahore, Pakistan is saying void is correct answer

Zo Go
Zo Go - 1 month ago

Zo Go from Casablanca, Morocco is saying void is correct answer

Assaad Amine
Assaad Amine - 1 month ago

Assaad Amine from Casablanca, Morocco is saying void is correct answer

Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying int is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying void is correct answer

Related Questions

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

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