Hi,
I am trying to create a new class, SimpleChart, which inherits from an
established class, SoftChart. My code is as follows.
import org.soft.chart.SoftChart;
import org.soft.chart.plot.Plot;
public class SimpleChart extends SoftChart{
Line 11: public SimpleChart(Plot plot) {
}
}
However, I received the following error with the constructor. I have
imported the SoftChart class, so why can't the compiler find the
constructor SoftChart()? How can I remedy this error?
.../src/SimpleChart.java:11: cannot find symbol
symbol : constructor SoftChart()
location: class org.soft.chart.SoftChart
public SimpleChart(Plot plot) {
1 error
BUILD FAILED (total time: 0 seconds)
Thank you
aa
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---