![]() |
#1 |
Registered User
Join Date: Jul 2015
Posts: 197
|
data types
what are the data types in java?
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Aug 2016
Posts: 961
|
The platform independent feature of Java is achieved through bytecode. The eight primitive data types are: byte, short, int, long, float, double, boolean, and char. The java.lang.String class represents character strings
|
![]() |
![]() |
![]() |
#3 |
Registered User
Join Date: Aug 2016
Posts: 89
|
A data type in a programming language is a set of data with values having predefined characteristics.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - What is it? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - what's legit or scam? |
![]() |
![]() |
![]() |
#4 |
Registered User
Join Date: Sep 2016
Location: chennai
Posts: 93
|
8 data types.int(32-bit),short(16-bit),long(64-bit),byte(8-bit),float(32-bit),double(64-bit),char(16-bit),boolean (true or false).
Thank you. |
![]() |
![]() |
![]() |
#5 |
Registered User
Join Date: Jun 2016
Location: Rosenhelle 4,D-61138 Niederdorfelden, Germany
Posts: 94
|
Data Types are the
char - 1 byte unsigned char- 1 byte int- 2 or 4 byte short - 2 bytes 2 bytes - 4 bytes
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#6 |
Registered User
Join Date: Sep 2016
Posts: 246
|
The data types in java are :-
byte, short, int, long, float, double, boolean, char.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#7 |
Registered User
Join Date: May 2016
Posts: 551
|
A particular kind of data item, as defined by the values it can take, the programming language used, or the operations that can be performed on it.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#8 |
Registered User
Join Date: Sep 2016
Posts: 75
|
short, int, long, float, double, boolean, and char are the commonly known data types
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#9 |
Registered User
Join Date: Sep 2016
Location: Bangalore
Posts: 58
|
There are mainly eight data types in Java - int, short, long, byte, float, double, char, and boolean.
|
![]() |
![]() |
![]() |
#10 |
Registered User
Join Date: Sep 2016
Posts: 63
|
A data types in Java are int,byte,float,double,char,boolean,long,short.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#11 |
Registered User
Join Date: Jul 2016
Posts: 755
|
The eight primitive data types are: byte, short, int, long, float, double, boolean, and char.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#12 |
Registered User
Join Date: Oct 2016
Posts: 105
|
int A 32-bit (4-byte) integer value
short A 16-bit (2-byte) integer value long A 64-bit (8-byte) integer value byte An 8-bit (1-byte) integer value float A 32-bit (4-byte) floating-point value double A 64-bit (8-byte) floating-point value char A 16-bit character using the Unicode encoding scheme boolean A true or false value
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SQL - Data Types | JohnKumar | PHP / mySQL | 8 | 03-13-2015 11:05 PM |
Fast UK VPS, Linux & Windows, Raid-10, SSD Raid-10 - 1GBPS - Bitcoins/Perfect Money | AJKpeter | Post your ad here | 1 | 01-14-2015 01:33 AM |
Cheap Linux/Windows VPS - SSD/VMware/Xen/OpenVZ - CC/Paypal/Bitcoins/Perfect Money | AJKpeter | Post your ad here | 0 | 12-30-2014 01:07 AM |
1GBPS VPS Servers - Linux/Windows/Root Access/RDP - Fast SSD Storage - PerfectMoney | AJKpeter | Post your ad here | 0 | 12-17-2014 12:29 AM |
Fast UK VPS, Linux & Windows, Raid-10, SSD Raid-10 - 1GBPS - Bitcoins/Perfect Money | AJKpeter | Post your ad here | 0 | 12-10-2014 01:18 AM |