Click here to Skip to main content
15,886,026 members
Home / Discussions / Java
   

Java

 
AnswerRe: java jee Pin
Manish K. Agarwal9-Nov-17 5:10
Manish K. Agarwal9-Nov-17 5:10 
QuestionJava Code using the List Interface not Compiling Pin
BobInNJ8-Nov-17 10:14
BobInNJ8-Nov-17 10:14 
AnswerRe: Java Code using the List Interface not Compiling Pin
Afzaal Ahmad Zeeshan8-Nov-17 13:47
professionalAfzaal Ahmad Zeeshan8-Nov-17 13:47 
GeneralRe: Java Code using the List Interface not Compiling Pin
Richard MacCutchan8-Nov-17 22:10
mveRichard MacCutchan8-Nov-17 22:10 
GeneralRe: Java Code using the List Interface not Compiling Pin
Afzaal Ahmad Zeeshan9-Nov-17 0:22
professionalAfzaal Ahmad Zeeshan9-Nov-17 0:22 
GeneralRe: Java Code using the List Interface not Compiling Pin
Richard MacCutchan9-Nov-17 1:12
mveRichard MacCutchan9-Nov-17 1:12 
AnswerRe: Java Code using the List Interface not Compiling Pin
Richard MacCutchan8-Nov-17 22:06
mveRichard MacCutchan8-Nov-17 22:06 
AnswerRe: Java Code using the List Interface not Compiling Pin
vishaljamdagni7-Feb-18 1:21
professionalvishaljamdagni7-Feb-18 1:21 
Hey there, it seems like you're using the wildcard operator "?" and trying to use a method which is modifying the list at the same time.
Now I am no expert but I think the above combination cannot be used since if you want to add something to a generic collection then as far as I remember you have to use the "super" keyword with the wildcard operator to let the compiler stop bothering you from adding modifying your collection and with the keyword super you'll have to change the declaration to one hierarchical level lower as well.
Hope this helps, pardon me if I got it wrong though.
Cheers.

modified 8-Feb-18 1:11am.

QuestionError Trapping this statement Pin
Member 135080347-Nov-17 2:59
Member 135080347-Nov-17 2:59 
AnswerRe: Error Trapping this statement Pin
Richard MacCutchan7-Nov-17 3:31
mveRichard MacCutchan7-Nov-17 3:31 
GeneralRe: Error Trapping this statement Pin
Member 135080347-Nov-17 5:28
Member 135080347-Nov-17 5:28 
GeneralRe: Error Trapping this statement Pin
Richard MacCutchan7-Nov-17 6:56
mveRichard MacCutchan7-Nov-17 6:56 
GeneralRe: Error Trapping this statement Pin
Member 135080347-Nov-17 7:23
Member 135080347-Nov-17 7:23 
AnswerRe: Error Trapping this statement Pin
jschell8-Nov-17 7:29
jschell8-Nov-17 7:29 
AnswerRe: Error Trapping this statement Pin
ZurdoDev8-Nov-17 7:44
professionalZurdoDev8-Nov-17 7:44 
QuestionPlacing 2DArray Values into x, y locations Pin
Member 135019553-Nov-17 7:35
Member 135019553-Nov-17 7:35 
QuestionIS anybody knows how to convert HTML to XML file USING java Pin
Raaz db Bengalore3-Nov-17 3:12
Raaz db Bengalore3-Nov-17 3:12 
AnswerRe: IS anybody knows how to convert HTML to XML file USING java Pin
jschell3-Nov-17 6:47
jschell3-Nov-17 6:47 
GeneralRe: IS anybody knows how to convert HTML to XML file USING java Pin
Raaz db Bengalore3-Nov-17 20:54
Raaz db Bengalore3-Nov-17 20:54 
GeneralRe: IS anybody knows how to convert HTML to XML file USING java Pin
Richard MacCutchan4-Nov-17 21:09
mveRichard MacCutchan4-Nov-17 21:09 
GeneralRe: IS anybody knows how to convert HTML to XML file USING java Pin
Raaz db Bengalore5-Nov-17 16:58
Raaz db Bengalore5-Nov-17 16:58 
GeneralRe: IS anybody knows how to convert HTML to XML file USING java Pin
Richard MacCutchan5-Nov-17 22:09
mveRichard MacCutchan5-Nov-17 22:09 
GeneralRe: IS anybody knows how to convert HTML to XML file USING java Pin
Raaz db Bengalore5-Nov-17 22:19
Raaz db Bengalore5-Nov-17 22:19 
QuestionHi all can anyone solve this for me plz in java Pin
Jbdomnic12321-Oct-17 4:28
Jbdomnic12321-Oct-17 4:28 
AnswerRe: Hi all can anyone solve this for me plz in java Pin
Sascha Lefèvre21-Oct-17 4:40
professionalSascha Lefèvre21-Oct-17 4:40 

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.