Comment on Tutorial - String Conversion and toString() in Java By Mashoud



Comment Added by : David

Comment Added at : 2010-07-08 03:34:13

Comment on Tutorial : String Conversion and toString() in Java By Mashoud
sir... i made a program just like that ... but there is an error "C:\Documents and Settings\ali\My Documents\Triangle.java:38: toString() in Triangle cannot override toString() in java.lang.Object; attempting to use incompatible return type
found : String
required: java.lang.String
public String toString()" <-- this is my problemm... it will not override...please elp...


View Tutorial



Ask a Question

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Thanks,
But i would like to use an array li

View Tutorial          By: Gustavo at 2011-06-15 21:03:20

2. The following line in the code
((NewThread)

View Tutorial          By: Carlos at 2009-11-18 14:34:51

3. Thanks, how about using isset() function on page/U
View Tutorial          By: Paolo at 2009-06-01 07:29:10

4. im trying to just store the data taken from editex
View Tutorial          By: praveen at 2014-08-05 15:19:51

5. Good example for vector
View Tutorial          By: mangai at 2011-07-07 09:46:10

6. hi,
i am safeer, i am try this program in

View Tutorial          By: Safi at 2009-05-22 22:32:04

7. Can u send total code, i am in critical position n
View Tutorial          By: ram at 2011-05-16 07:07:10

8. Sorry Actually i used previous version of comm.jar
View Tutorial          By: A.Balaji at 2010-09-15 02:44:55

9. I'm working on an intranet site/web application. W
View Tutorial          By: Tony Gingrich at 2011-10-23 21:22:31

10. Thanks for your tutorial.
View Tutorial          By: pre pais at 2015-01-09 00:14:29