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. i get this error too but i dont start the mysql se
View Tutorial          By: Head at 2009-02-27 00:47:43

2. answer of comment No, 17

#include&l

View Tutorial          By: Rashid Jabbar at 2012-09-16 20:23:11

3. gud tutorial but the permission denied is because
View Tutorial          By: amithooda at 2012-06-11 06:43:00

4. Plse Send me The Code For Sms Application to My Ma
View Tutorial          By: Santoshb at 2010-09-08 07:08:55

5. Hii,,,i have a java server socket program and i wa
View Tutorial          By: prawinmasthan at 2012-01-13 08:38:35

6. #!/bin/bash

echo "Enter number

View Tutorial          By: ashish at 2011-03-25 07:46:09

7. Good explanation, Thanks.
View Tutorial          By: bram at 2011-05-06 03:37:54

8. Hi, i am new java, and i want to become gud develo
View Tutorial          By: reuben at 2012-12-20 14:27:08

9. I am executing this code using NetBeans6.9 and get
View Tutorial          By: Rohit at 2011-04-19 11:07:59

10. please give very easy program....this program is d
View Tutorial          By: rajesh at 2010-01-24 08:08:38