Q&A Categories

  • No categories

What’s the difference between constructors and normal methods in Java OOP?

Jun

4

2013

What’s the difference between constructors and normal methods?

In: Uncategorized Asked By: [Robb_S] (Anonymously)
vote
Answer #1

Hey there,

The main difference between constructors and reglar methdos is the fact that constructors MUST have the same name as the class and they never return a value.

Answers Answered By: Arya [ Grey Star Level]

Answer this Question

Enter name & email to post an Answer. You can also Login / Join us

For a better management of this site please consider Logging in / Joining us before posting a Question. It makes everithing easier for us.

Please enter the captcha code bellow.
Logged in users don't have to use captchas. Don't have an account? Join us!

 

Link Exchange:

You can add url to the best of the internet directory. Our url is added under Reference Directory
HE Blog Directory WEB LOG SHOWWEB LOG SHOW