Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
int cannot be converted to Node[]
Alen Grace
Greenhorn
Posts: 8
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is it possible to convert an int to a node[]?
Node[] expResult = new Node[2]; for(int i: expResult){ expResult[i] = i.; }
Paul Clapham
Marshal
Posts: 28193
95
I like...
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
No, it isn't. But why would you want to do that? It's not a natural thing to do at all, no matter what "Node" means. Your code doesn't really provide any hints -- could you explain where this idea comes from?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Test Results 4 failed tests JUnit
Need help with mouse and button event
Testing void method in Junit
JUnit testing with int[] result
replace a subTree
More...