5 years ago in Java Classes And Methods

Which method can be defined only once in a program?

[A] main method
[B] finalize method
[C] static method
[D] private method
Loading...
Next Question

Overall Stats

Attempted 287
Correct 135
Incorrect 55
Viewed 97

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 1 day ago

Shamsa hafeez from Lahore, Pakistan is saying main method is correct answer

Zo Go
Zo Go - 1 month ago

Zo Go from Casablanca, Morocco is saying main method is correct answer

Assaad Amine
Assaad Amine - 1 month ago

Assaad Amine from Casablanca, Morocco is saying main method is correct answer

Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying main method is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying main method 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

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

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

String in Java is a?

  • [A] class
  • [B] object
  • [C] variable
  • [D] character array

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