Click here to Skip to main content
15,914,221 members
Home / Discussions / Java
   

Java

 
QuestionJava Pin
Member 1326557218-Jun-17 1:38
Member 1326557218-Jun-17 1:38 
JokeRe: Java Pin
Richard MacCutchan18-Jun-17 22:53
mveRichard MacCutchan18-Jun-17 22:53 
JokeRe: Java Pin
John C Rayan19-Jun-17 4:16
professionalJohn C Rayan19-Jun-17 4:16 
GeneralRe: Java Pin
Richard MacCutchan19-Jun-17 4:23
mveRichard MacCutchan19-Jun-17 4:23 
QuestionWhere to place connection using servlet Pin
digibat13-Jun-17 17:18
digibat13-Jun-17 17:18 
AnswerRe: Where to place connection using servlet Pin
Richard MacCutchan13-Jun-17 21:42
mveRichard MacCutchan13-Jun-17 21:42 
QuestionAndroid jetplayer Pin
Member 132447819-Jun-17 19:24
Member 132447819-Jun-17 19:24 
AnswerRe: Android jetplayer Pin
Richard MacCutchan9-Jun-17 22:11
mveRichard MacCutchan9-Jun-17 22:11 
Questionsimple and basic Array Question Pin
Member 125938658-Jun-17 17:37
Member 125938658-Jun-17 17:37 
AnswerRe: simple and basic Array Question Pin
Richard MacCutchan8-Jun-17 22:09
mveRichard MacCutchan8-Jun-17 22:09 
GeneralRe: simple and basic Array Question Pin
Member 125938659-Jun-17 1:57
Member 125938659-Jun-17 1:57 
GeneralRe: simple and basic Array Question Pin
Richard MacCutchan9-Jun-17 2:09
mveRichard MacCutchan9-Jun-17 2:09 
GeneralRe: simple and basic Array Question Pin
Member 125938659-Jun-17 5:30
Member 125938659-Jun-17 5:30 
GeneralRe: simple and basic Array Question Pin
Richard MacCutchan9-Jun-17 7:21
mveRichard MacCutchan9-Jun-17 7:21 
GeneralRe: simple and basic Array Question Pin
Member 125938659-Jun-17 7:41
Member 125938659-Jun-17 7:41 
GeneralRe: simple and basic Array Question Pin
Richard MacCutchan9-Jun-17 7:46
mveRichard MacCutchan9-Jun-17 7:46 
GeneralRe: simple and basic Array Question Pin
Member 125938659-Jun-17 9:34
Member 125938659-Jun-17 9:34 
GeneralRe: simple and basic Array Question Pin
Richard MacCutchan9-Jun-17 22:08
mveRichard MacCutchan9-Jun-17 22:08 
GeneralRe: simple and basic Array Question Pin
Member 1259386510-Jun-17 7:25
Member 1259386510-Jun-17 7:25 
GeneralImplementing the Artificial Neural Network - Java Pin
Member 132411095-Jun-17 0:27
Member 132411095-Jun-17 0:27 
GeneralRe: Implementing the Artificial Neural Network - Java Pin
harold aptroot5-Jun-17 1:35
harold aptroot5-Jun-17 1:35 
GeneralRe: Implementing the Artificial Neural Network - Java Pin
Member 132411095-Jun-17 7:44
Member 132411095-Jun-17 7:44 
QuestionGeneric List and request.getParameterValues Pin
karengsh3-Jun-17 22:20
karengsh3-Jun-17 22:20 
AnswerRe: Generic List and request.getParameterValues Pin
Afzaal Ahmad Zeeshan5-Jun-17 8:28
professionalAfzaal Ahmad Zeeshan5-Jun-17 8:28 
There are several confusions in your code, you are creating List, then going back to static arrays, then... Wait right,

What you need to do is, you need to add subjects, then convert it to array, I would suggest performing the conversion from List to array at the end. What happens is that your list is employ, and thus your array is also of zero size, so you cannot add anything and if you do add something to list (later on, after creating the array), you do not get that in the array.

Besides, Java doesn't allow same name to be reused for multiple types (your class type, variable name, etc.) so please review the code, and if someone gave it to you, lure them with you to the Java tutorials or classes. Smile | :)
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

AnswerRe: Generic List and request.getParameterValues Pin
Richard Deeming5-Jun-17 8:29
mveRichard Deeming5-Jun-17 8:29 

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.