I am a structured programmer and i’m trying to learn OOP by creating an MVC app using Classes.
I still don’t understand one thing. What is an object and how is it different than a variable?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A variable holds a single piece of data while an object holds many variables and methods that act on those variables.
Since you are a beginner you can go through this tutorial
Hope this helps