Joined
Last Seen
0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #54.9K
~255 People Reached
Favorite Forums
[code] //to check if numeric public boolean checkNumeric(String user_input) { for( ; x <= user_input.length() ; x++ ) { if(!Char.isDigit(user_input.charAt(x))) { return flag; } } return noError; }[/code] it says: cannot find symbol variable- char Help please. |
|
[code]public String viewByItemCode(String icode) { String search = " "; for( ; x<recordNum ; x++) { if(itemRef[x].getItemCode() == icode) { search = ("\nItem Code: " +itemRef[x].getItemCode()+ "\nItem Description: " +itemRef[x].getItemDesc()+ "\nItem Unit Price: " +itemRef[x].getItemUnitPrice()+ "\nItem Quantity: " +itemRef[x].getItemQty()+ "\nItem Unit Measure: " +itemRef[x].getItemUnitMeasure()+"\n"); } } return search; }[/code] Supposed … |