This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi. I have a program which has the following stucture:
basically want to invoke method 5 in method 4 but I get an error saying backend(java.lang.String,java.lang.String,java.lang.String) in backend cannot be applied to (). What do I need to do to sort this out i.e. what should i be putting in the brackets???
Ask me for more info if required!
Cheers [ March 03, 2006: Message edited by: Sam Bluesman ]
You are creating a object of backend, but are not passing any parameters to its constructor. If you dont have any parameters to pass to the backend constructor, then create a default constructor as follows: