hi...Raga Sandhya.Koyi February 18, 2012 at 4:43 PM
thank you code is useful for me.......but in this GetBiggestNumber() i wish to return mutiple values and this method is add to the vector and can i call this one in jsp ..........
java Mahesh Dattatray Lanke July 8, 2012 at 1:08 AM
So I'm doing a project in which I need to make a table of values, one column of x and the other column of x! I know how to make the factorial program (and it worked before I put in the print statements), however when I'm trying to print the return statements, it's not working. Can someone please help me?
public static double myexp (double n) {
System.out.println(n);
if (n<=1) {
return 1;
}
else {
System.out.print("\t");
//return n*myexp(n-1);
System.out.print(return n*myexp(n-1));
}
}
Code the following method headers only, each with inventoryData as its name:
1.Does not return or receive any values.
2.Receives the name of an inventory item.
3.Receives the price of an inventory item
4.Receives the price and quantity of an inventory item and returns an item total.
5.Receives an inventory item's integer-based item number and returns the name of the item.
object oriented programingnadabo musa February 19, 2013 at 11:49 AM
I am student your contribution encourage us thank
hi...Raga Sandhya.Koyi February 18, 2012 at 4:43 PM
thank you code is useful for me.......but in this GetBiggestNumber() i wish to return mutiple values and this method is add to the vector and can i call this one in jsp ..........
java Mahesh Dattatray Lanke July 8, 2012 at 1:08 AM
hi are how to call constroctor
code chhote lal pal September 20, 2012 at 5:09 PM
this is good code resolution return type values print
Printing the return statement?Confused October 29, 2012 at 11:35 PM
So I'm doing a project in which I need to make a table of values, one column of x and the other column of x! I know how to make the factorial program (and it worked before I put in the print statements), however when I'm trying to print the return statements, it's not working. Can someone please help me? public static double myexp (double n) { System.out.println(n); if (n<=1) { return 1; } else { System.out.print("\t"); //return n*myexp(n-1); System.out.print(return n*myexp(n-1)); } }
invantorydataByong April 8, 2013 at 9:08 AM
Code the following method headers only, each with inventoryData as its name: 1.Does not return or receive any values. 2.Receives the name of an inventory item. 3.Receives the price of an inventory item 4.Receives the price and quantity of an inventory item and returns an item total. 5.Receives an inventory item's integer-based item number and returns the name of the item.
Post your Comment