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

3rd Jul 2017, 7:26 AM
Walter Mugo
Walter Mugo - avatar
10 Antworten
+ 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
27th May 2020, 7:00 AM
Gourav Tomar
Gourav Tomar - avatar
+ 2
help me out
3rd Jul 2017, 7:26 AM
Walter Mugo
Walter Mugo - avatar
+ 1
nel
12th Apr 2018, 12:58 AM
Gox0847 #
Gox0847 # - avatar
+ 1
Arraylist<integer>ar= new ArrayList <Integer>(9);
1st Apr 2020, 5:55 PM
Pawan Awasthi
Pawan Awasthi - avatar
0
class int double string
18th Jul 2017, 6:36 AM
shubham thakur
shubham thakur - avatar
0
class Person { int age; double height; String name; }
9th Apr 2018, 4:12 PM
Osama
0
jajajajajaja
12th Apr 2018, 12:58 AM
Gox0847 #
Gox0847 # - avatar
0
ArrayList<> ar = <Integer>(9); new ArrayList Integer count String array
8th Mar 2020, 4:03 AM
Muthukaruppan.M
Muthukaruppan.M - avatar
0
tell m the answer
26th May 2023, 1:38 PM
kirubel demsachew
kirubel demsachew - avatar
- 1
tupu tamadre
15th Jan 2018, 8:09 AM
víctor martínez
víctor martínez - avatar