Need Question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Need Question

please comment some questions for Java that I can solve some new ideas

8th Aug 2017, 5:42 PM
Aditya
Aditya - avatar
12 Answers
+ 4
now I got it thank guys
12th Feb 2018, 10:16 AM
Aditya
Aditya - avatar
+ 3
try www.w3resource.com, got cool challenges from simple to hard
8th Aug 2017, 8:18 PM
Raz
Raz - avatar
+ 2
thx all
9th Aug 2017, 9:51 AM
Aditya
Aditya - avatar
+ 2
Thanks @neicore
9th Aug 2017, 9:53 AM
Aditya
Aditya - avatar
+ 1
Can I use an array to store more than 1 different data types in them? like: list[0] = 5; list[1] = "Numba tooo"; list[2] = true; and how would you print it?
8th Aug 2017, 6:05 PM
Limitless
Limitless - avatar
+ 1
Nika leave it to Raj 😉 We learn as much as he learns in this thread and Vise-Vursa
8th Aug 2017, 6:20 PM
Limitless
Limitless - avatar
+ 1
@Limitless u cannot store different data type in one array
9th Aug 2017, 9:53 AM
Aditya
Aditya - avatar
+ 1
@Aditya Raj what about some sort of List?
9th Aug 2017, 10:40 AM
Limitless
Limitless - avatar
+ 1
can't understand please be more clear
9th Aug 2017, 11:19 AM
Aditya
Aditya - avatar
+ 1
Refer to my first question I posted on this Thread. Is it possible to store different kinds of datatypes in a single array or list? Maybe anything similar to that
9th Aug 2017, 11:21 AM
Limitless
Limitless - avatar
+ 1
no it's not possible to store in array as well in lists
9th Aug 2017, 11:23 AM
Aditya
Aditya - avatar
+ 1
Actually it is possible. The class I'm using is called Vector. It can store different values in one variable that is like a list. https://code.sololearn.com/cuCKC8hpMXX6/?ref=app
9th Aug 2017, 11:26 AM
Limitless
Limitless - avatar