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



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. Gracias. Ya me estaba poniendo nervioso. No pod&At
View Tutorial          By: Manuel at 2015-07-30 11:34:54

2. Good To understand.
View Tutorial          By: Radhika at 2010-05-11 01:24:55

3. ... it is nice site coz 8 can help students lyk me
View Tutorial          By: mayflor at 2011-06-29 03:57:51

4. Nothing that hasn't been said before, but I wasn't
View Tutorial          By: Calvin at 2010-03-22 20:43:10

5. can i using stack in microsoft access 2007
View Tutorial          By: pxin at 2015-03-24 05:45:56

6. NO NO NO!!
120º not is 2.09439

View Tutorial          By: jsError at 2012-02-05 22:46:15

7. Thanks to OP and Zarno for finishing off this code
View Tutorial          By: Soapy Balls at 2011-05-27 05:26:13

8. neded defination in clear
View Tutorial          By: venkat at 2011-07-04 06:31:19

9. How can I delete the data that I have entered into
View Tutorial          By: selina at 2011-08-15 05:15:45

10. this pionter is used to help compiler to understan
View Tutorial          By: RUB NAWAZ at 2008-10-31 11:38:09