Click here to Skip to main content
15,610,865 members
Home / Discussions / Java
   

Java

 
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 
thanks so you saying , java did first calling for Second_Arra(a); then did call First_Array(a);
so Java brought ma final value to the main method .

ok that make sense now .

but still not logic for me how java process the code , for example :

I didn't create instance variable for the class Try_Array.

i don't declare variable like int a[]; and i don't create set() and get() . i don't even do return method !


how for loop (int i = 0; i < a.length; i++) on the main method knows that a[] is got handled with Try_Array class and that array got full with new value !

I just no longer able to trace how java process this I really lost and got crazy to fail understand simple thing

when I build the code I build return method that brought final value I usually build private instance variable for the class . but I got confuse when I saw this code on book not adhere to what I learn
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 
AnswerRe: Generic List and request.getParameterValues Pin
Richard Deeming5-Jun-17 8:29
mveRichard Deeming5-Jun-17 8:29 
GeneralRe: Generic List and request.getParameterValues Pin
karengsh6-Jun-17 17:56
karengsh6-Jun-17 17:56 
GeneralRe: Generic List and request.getParameterValues Pin
Richard MacCutchan6-Jun-17 23:00
mveRichard MacCutchan6-Jun-17 23:00 
GeneralRe: Generic List and request.getParameterValues Pin
karengsh8-Jun-17 5:56
karengsh8-Jun-17 5:56 
GeneralRe: Generic List and request.getParameterValues Pin
Richard MacCutchan8-Jun-17 21:52
mveRichard MacCutchan8-Jun-17 21:52 
QuestionHelp with calling .length on an array Pin
m009le2-Jun-17 10:50
m009le2-Jun-17 10:50 
AnswerRe: Help with calling .length on an array Pin
Member 121394422-Jun-17 11:20
Member 121394422-Jun-17 11:20 
AnswerRe: Help with calling .length on an array Pin
Richard MacCutchan2-Jun-17 22:17
mveRichard MacCutchan2-Jun-17 22:17 

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.