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. sir , i'm doing BCA . I want to learn more about
View Tutorial          By: gayatri patil at 2012-08-18 10:08:32

2. Thanks so much, this was extremely helpful and rea
View Tutorial          By: gabrielle at 2013-10-04 22:07:17

3. Hi I am developing a code for data transfer from
View Tutorial          By: Rajavel at 2014-03-21 14:17:54

4. iam getting intrest to watch this site
View Tutorial          By: monika at 2013-02-15 15:48:57

5. In good form, don't forget to add column headers a
View Tutorial          By: Jake at 2009-07-13 14:20:16

6. Very nice article. Really liked the way it took me
View Tutorial          By: Sandeep at 2010-01-10 09:58:25

7. Excellent. I want you to publish about memory allo
View Tutorial          By: Mohamed firnaz at 2011-12-07 04:54:27

8. Please don't use DataInputStream to read text. Unf
View Tutorial          By: Peter Lawrey at 2013-01-30 23:46:47

9. Ur article is very intersting and very usefull me
View Tutorial          By: SIVAKUMAR at 2011-11-22 11:14:05

10. i have to retrieve data from database which is on
View Tutorial          By: abhishek at 2012-04-05 05:04:01