0
Drag and drop from the options below to define a class with these attributes: age of type integer, height as a double, and name
Drag and drop from the options below to define a class with these attributes: age of type integer, height as a double, and name as a string. Person { age; height; name; } String double attribute void class define int
10 Respuestas
+ 3
Drag and drop from the options below to define a class with these attributes: age of type integer, height as a double, and name as a string.
class Person {
int age; //int, because a age refers a whole number
double height; // height might be in real no. so double is taken here
sting name; // string contains a text i.e, name also an no. of words of
alphabet
}
void attribute int class double String define
+ 2
help me out
+ 1
nel
+ 1
Arraylist<integer>ar=
new ArrayList <Integer>(9);
0
class
int
double
string
0
class Person {
int age;
double height;
String name;
}
0
jajajajajaja
0
ArrayList<> ar =
<Integer>(9);
new ArrayList Integer count String array
0
tell m the answer
- 1
tupu
tamadre