Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Dorothy Churchill

Dorothy Churchill

Community Learner
Share
15Questions
14Answers
18.6KViews on questions

What is the difference between Constructor and a method?

The constructor and method look similar to each other but they aren't. The main difference between constructor and function is that constructor main purpose is to initialise the object that is being created using a new operator. But the function's main job is to perform operations on objects that already exist. We…

Salesforce

Answered Jan 9, 2020 · 1.2K Views Read answer →

More members from the AWS community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest AWS Blogs

Guides, tips and career advice on AWS from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.