-
-
Save udacityandroid/ad088cd4e920f2a2d778 to your computer and use it in GitHub Desktop.
/** | |
* Calculates the price of the order based on the current quantity. | |
* | |
* @return the price | |
*/ | |
private int calculate price(int quantity { | |
int price = quantity * 5; | |
return price; | |
} |
/** | |
* Calculates the price of the order based on the current quantity. | |
* | |
* @return the price | |
*/ | |
private calculatePrice(int quantity) | |
int price = quantity * 5; | |
return price; |
/** | |
* Calculates the price of the order based on the current quantity. | |
* | |
* @return the price | |
*/ | |
private int calculatePrice(int quantity) { | |
int price = quantity * 5; | |
return price; | |
} |
C
C
C
the answer is c but quantity is a global variable so we don't need to send the parameters while falling the method
hello who is still doing this today is 24/05/2020 i'm learning the basics,
send me an email to [email protected] if you want to continue with me
It's c
c option
cccccccc
the answer is C
C correct
c
Answer C
C
C
option c is correct answer
C
It's C
I think the option is C
c
because fulfill all requirements of a method in java
Dear sir , the option A and B are wrong answer and the option 3 are right answer
C
Because Fulfill all requirements of a method in java
c
C
Option C is correct
Why you guys are answering here. Because of you the new students will not be able to practice there newly acquired code reading skills.
option cuiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii is correct
Option C:
I would like to give you 10$ to shoot him ?!