Debis Posted April 6, 2020 Share Posted April 6, 2020 What's the difference between a Method and a Constructor? Only in the name? Link to comment Share on other sites More sharing options...
Ingolme Posted April 6, 2020 Share Posted April 6, 2020 Technically the constructor is a method. The big difference between a constructor and other methods is that you never call the constructor, it is called automatically when you instantiate the object. Link to comment Share on other sites More sharing options...
Debis Posted April 7, 2020 Author Share Posted April 7, 2020 👍 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now