/    Sign up×
Community /Pin to ProfileBookmark

What are different types of Datatypes in Java?

What are the different types of Datatypes in Java?

to post a comment

2 Comments(s)

Copy linkTweet thisAlerts:
@VITSUSAJul 22.2019 — There are two types of data types in Java:

• Primitive data types: The primitive data types include boolean, char, byte, short, int, long, float and double.

• Non-primitive data types: The non-primitive data types include Classes, Interfaces, and Arrays.

[upl-image-preview url=https://www.webdeveloper.com/assets/files/2019-07-22/1563789655-613801-java-data-types.png]
Copy linkTweet thisAlerts:
@NogDogJul 22.2019 — Just to be sure, since you posted this under the "client-side" tag, do you mean "Java" or "JavaScript" (the latter being the client-side browser language)?
×

Success!

Help @bencryer spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...