5 years ago in Java Package And Interface

If method have same name as class name and method don’t have any return type then it is known as ?

[A] Destructors
[B] Object
[C] Variable
[D] Constructor
Loading...
Next Question

Overall Stats

Attempted 180
Correct 105
Incorrect 18
Viewed 57

Answers

Guest
Guest
Mallinatha BJ - 9 months ago

Answer is Constructor

bruh
bruh - 3 weeks ago

bruh from Guwahati, India is saying Constructor is correct answer

Vaibhav Bisht
Vaibhav Bisht - 3 weeks ago

Vaibhav Bisht from Dehradun, India is saying Constructor is correct answer

Assaad Amine
Assaad Amine - 3 weeks ago

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

Awa Kone
Awa Kone - 4 weeks ago

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

Related Questions

Which of these interface must contain a unique element?

  • [A] Set
  • [B] List
  • [C] Array
  • [D] Collection

Thread class is available in ?

  • [A] java.io package
  • [B] java.lang package
  • [C] java.awt package
  • [D] java.util package

Which of these interface handle sequences?

  • [A] Set
  • [B] List
  • [C] Comparator
  • [D] Collection