This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
I am using Arrays.toString(String) method to display the information in logs. But I am getting an error like 'the method toString() in the type object is not applicable for the arguments(String)' in eclipse, when I use this method. What is the wrong with this?
it's difficult to tell you the exact problem without knowing the bit of code which makes you trouble. Anyway the Arrays.toString() methods need one parameter which has to be an array of some type. Are your "log entries" arrays of string or what? Take a look at the )]API doc then you can surely figure it out yourself
The toString methods have only been added in Java 5.0. If you are using Java 1.4 or below, there is only one toString() method and that's the one inherited from Object. And that isn't static of course.