Results 1 to 2 of 2
- 04-09-2012, 02:55 AM #1
Member
- Join Date
- Apr 2012
- Posts
- 1
- Rep Power
- 0
- 04-09-2012, 03:17 AM #2
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,545
- Rep Power
- 11
Re: Meaning of "multiply" in the following code?
I think you mean what is the term for a method which calls itself like that. That is "multiply" occurs twice: as the method's name and as part of the expression that is returned.Can someone explain the programming concept of "multiply"?? i.e. What is the term for this concept in programming?
This is an AP computer science question that is doing the rounds at the moment. I suggest you consult your notes/textbook etc about the term that is used for a method that calls itself. You can find out what the method returns if multiply(8) or whatever is called by running a small program. If you are unclear about *why* that value is returned you should ask (and say what value you think should be returned, and why).
Similar Threads
-
Program skips "If" code and goes straight to "Else"
By Logik22 in forum New To JavaReplies: 12Last Post: 01-21-2012, 05:40 PM -
Meaning of "String..."
By kracer in forum New To JavaReplies: 1Last Post: 05-29-2010, 12:10 AM -
what is the meaning of "@" in java
By itaipee in forum New To JavaReplies: 3Last Post: 08-03-2009, 11:17 AM -
MoneyOut.println("It took you (whats wrong?>",year,"<WW?) years to repay the loan")
By soc86 in forum New To JavaReplies: 2Last Post: 01-24-2009, 06:56 PM -
the dollar sign "$", prints like any other normal char in java like "a" or "*" ?
By lse123 in forum New To JavaReplies: 1Last Post: 10-20-2008, 07:35 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks