There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
This review talks about properties and methods of objects. On the surface (judging by how they look in the code), these look very much alike. the only difference I can spot is that a property like .length lacks the parantheses that a method like .toUpperCase() has.
What’s the exact difference between properties of an object and its methods?
Is there one on a technical level (the computer does different things with either) or is it a rather “human” distinction (only we can tell the difference, the computer can’t)?
I was asking myself the same thing yesterday. I found a post on a website that made me understand
" Think of an object as an object in real life (such as a bicycle). A method is something you can do with the bike (pedal), or something you can do to the bike (re-inflate tire). A property is something about the bike: how many wheels it has (wheels) or its height (height).
What is an instance of a datatype? What is meant by instance?
In the review page it reads
Objects, including instances of data types, can have properties, stored information. The properties are denoted with a . after the name of the object, for example: 'Hello'.length .
Objects, including instances of data types, can have methods which perform actions. Methods are called by appending the object or instance with a period, the method name, and parentheses. For example: 'hello'.toUpperCase() .
i’m doing the webdevelopment course and want to redo the first java lesson, just to understand it better. is there a way to only reset this lesson? as far as i can see the only option offered is to start from scratch alltogehter… thx for any tip.
There are 8. They forgot to add BigInt to the review. Do we just need to comment here for them to update that or is there a different process that we need to do in order to submit change requests?