what is the difference between - and -- in terms of java ...?
Answers
Answered by
1
Here is your answer...☺☺☺
➡➡➡➡➡➡➡➡➡➡➡➡➡➡➡➡➡➡➡
In simple terms a function is one which is declared outside a class and a method is something which isdeclared inside a class and is called using instance of the class. Function or method is the same. While, Functionis a terminology of C++, method is terminology for function in Java.
✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔
I hope this answer is helpful to u...❤❤❤
Keep Asking...✌✌✌
✨✨✨If help you. Mark my answer as a brainliest✨✨✨
pragyapathak12:
talk to u later
Answered by
1
- is having usual meaning
but -- subtracts 1 from a number.
If it is after a number then first it executes and then gives outside.
If it is before a number then it executes and gives the output simultaneously.
but -- subtracts 1 from a number.
If it is after a number then first it executes and then gives outside.
If it is before a number then it executes and gives the output simultaneously.
Similar questions