+ 1
Need Question
please comment some questions for Java that I can solve some new ideas
13 Respostas
+ 4
now I got it thank guys
+ 3
try www.w3resource.com, got cool challenges from simple to hard
+ 2
thx all
+ 2
Thanks @neicore
+ 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?
+ 1
Nika leave it to Raj 😉
We learn as much as he learns in this thread and Vise-Vursa
+ 1
@Limitless u cannot store different data type in one array
+ 1
@Aditya Raj what about some sort of List?
+ 1
can't understand please be more clear
+ 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
+ 1
no it's not possible to store in array as well in lists
+ 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