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. very nice session
View Tutorial          By: Rajendra singh rathod at 2012-03-16 13:32:01

2. it is very useful and in understandable manner
View Tutorial          By: Deepika at 2012-03-26 05:10:15

3. thanks. that was fair enough. :)
View Tutorial          By: Mustafa at 2010-05-16 10:12:33

4. It has been really helpful for me to gather inform
View Tutorial          By: sonam at 2009-03-08 09:41:33

5. Simple and effective example
View Tutorial          By: Anand at 2009-02-05 00:18:10

6. It's very useful to j2me beginners
View Tutorial          By: Naresh Padam at 2009-01-05 05:52:53

7. Hi..All ...to run this programs.first of of all u
View Tutorial          By: raavi.surendra at 2011-12-29 05:34:06

8. really good
View Tutorial          By: ammu at 2009-11-04 05:07:14

9. Really appreciate, after a long time, I am able to
View Tutorial          By: Senthil at 2012-09-16 06:03:15

10. I'm trying to learn navigating between activities.
View Tutorial          By: Ben at 2012-01-17 23:42:38