This is my program
interface values{
String piee = "3.14";
String alphaa = "2";
String namee = "priya";
}
abstract class pickvalue{
String values;
}
class pie extends pickvalue
{
pie(String value)
{
this.values = value;
}
}
class alpha extends pickvalue
{
alpha(String value)
{
this.values = value;
}
}
class name extends pickvalue
{
name(String value)
{
this.values = value;
}
}
class MyInterAbsDemo {
public static void main(String[] args) {
name objname = new name("sfsa");
System.out.println(objname.val...
}
}
not only this program..all the program which use this interface are not working some run time error like
java.lang.NoClassDefFoundError... interfacedemo/MyInterAbsDemo
Exception in thread "main"
Java Result: 1
what is the prob with my interface related programs.
thanks
2006-07-13
21:47:29
·
3 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design
hi sharma
i am not understanding what u are telling...all of my interface program encounter the same run time problem...
2006-07-13
23:29:04 ·
update #1