KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I pass an entire array to a method? private void PassArray() { String[] arrayw = new String[4]; //populate array PrintA(arrayw[]); } private void PrintA(String[] a) { //do whatever with array here } How do I do this correctly?
Tags (comma-separated)
Save Edits
Cancel