Click here to Skip to main content
16,005,339 members
Home / Discussions / Java
   

Java

 
GeneralRe: I have just removed your error from your code! Pin
Richard MacCutchan2-Oct-11 1:47
mveRichard MacCutchan2-Oct-11 1:47 
GeneralRe: I have just removed your error from your code! Pin
TorstenH.3-Oct-11 19:52
TorstenH.3-Oct-11 19:52 
Questionerror: cannot find symbol Pin
Iswandi Abdul Rahman30-Sep-11 12:54
Iswandi Abdul Rahman30-Sep-11 12:54 
AnswerRe: error: cannot find symbol Pin
Richard MacCutchan30-Sep-11 21:57
mveRichard MacCutchan30-Sep-11 21:57 
AnswerRe: error: cannot find symbol Pin
David Skelly3-Oct-11 22:10
David Skelly3-Oct-11 22:10 
AnswerRe: error: cannot find symbol Pin
ankitjc5-Oct-11 9:19
ankitjc5-Oct-11 9:19 
GeneralRe: error: cannot find symbol Pin
Peter_in_27805-Oct-11 14:10
professionalPeter_in_27805-Oct-11 14:10 
GeneralRe: error: cannot find symbol Pin
ankitjc6-Oct-11 4:52
ankitjc6-Oct-11 4:52 
Take an example. There are two classes A and B.

Java
public class A {
public A() {
    // TODO Auto-generated constructor stub
}

}


and
Java
public class B extends A {
static String str;
public B() {
    super(str);  //Do you mean this should compile? Unless you have a constructor with same args in  
                 //parent class A
}

}


So what i wanted to say is, Unless a constructor exists in parent class(with args), you cant make a super call from derived class.
In the above example, super(str) in constructor of B wont compile because there isn't any constructor of class A which takes argument String.
GeneralRe: error: cannot find symbol Pin
Peter_in_27806-Oct-11 12:56
professionalPeter_in_27806-Oct-11 12:56 
QuestionJava Media Framework Pin
Member 827732629-Sep-11 19:11
Member 827732629-Sep-11 19:11 
AnswerRe: Java Media Framework Pin
TorstenH.29-Sep-11 19:52
TorstenH.29-Sep-11 19:52 
GeneralRe: Java Media Framework Pin
Member 827732629-Sep-11 19:57
Member 827732629-Sep-11 19:57 
GeneralRe: Java Media Framework Pin
bennis982-Oct-11 17:03
bennis982-Oct-11 17:03 
Questionhow using sprite in j2me Pin
h1428-Sep-11 13:14
h1428-Sep-11 13:14 
AnswerRe: how using sprite in j2me Pin
Peter_in_278028-Sep-11 13:23
professionalPeter_in_278028-Sep-11 13:23 
GeneralRe: how using sprite in j2me Pin
h1428-Sep-11 14:42
h1428-Sep-11 14:42 
GeneralRe: how using sprite in j2me Pin
Firo Atrum Ventus28-Sep-11 15:26
Firo Atrum Ventus28-Sep-11 15:26 
Questionspeech recognition Pin
gif202027-Sep-11 9:29
gif202027-Sep-11 9:29 
AnswerRe: speech recognition Pin
Richard MacCutchan27-Sep-11 10:02
mveRichard MacCutchan27-Sep-11 10:02 
GeneralRe: speech recognition Pin
gif202028-Sep-11 12:11
gif202028-Sep-11 12:11 
GeneralRe: speech recognition Pin
Richard MacCutchan28-Sep-11 12:22
mveRichard MacCutchan28-Sep-11 12:22 
QuestionPolynomial class - need some assistance with it Pin
mastdesi22-Sep-11 16:17
mastdesi22-Sep-11 16:17 
AnswerRe: Polynomial class - need some assistance with it Pin
Nagy Vilmos22-Sep-11 23:59
professionalNagy Vilmos22-Sep-11 23:59 
GeneralRe: Polynomial class - need some assistance with it Pin
mastdesi23-Sep-11 5:50
mastdesi23-Sep-11 5:50 
QuestionHow to calculating Business Hours in java Pin
Member 423170021-Sep-11 15:54
Member 423170021-Sep-11 15:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.