Handling return type of methods
The method name is ListEvent.The purpose of this method is to return all the avilable events in the database with the necessary info wid it.The argument is a string which is the eventname and this methos ListEvent must return two string data which is the noOfSeats (int) and Price(double).What must be the return type of the method?..and how must i traverse to display the data into a textField?
Message was edited by:
Anu-java
[447 byte] By [
Anu-javaa] at [2007-10-3 2:39:34]

> The method name is ListEvent.
And why doesn't it comply to the naming conventions?
>The purpose of this
> method is to return all the avilable events in the
> database with the necessary info wid it.The argument
> is a string which is the eventname and this methos
> ListEvent must return two string data which is the
> noOfSeats (int) and Price(double).What must be the
> return type of the method?
Pick whatever suits you most.
> ..and how must i traverse
> to display the data into a textField?
Depends on what you pick as the return type.
Sorry, I won't do your homework.