Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Class notes java programming language

Rating
-
Sold
-
Pages
2
Uploaded on
24-02-2022
Written in
2021/2022

well accurate notes of java

Institution
Course

Content preview

Basic data type
Variables are nothing butreserved locations to store values.thIS means that

When you create a variable you reserve some space in memmory.

Based on the data type of variable the operating system allocates memmory

And decides what can be stored in the reserved memmory.there fore by

Assigning different data types to variables.you can store integers ,decimals,

Or character in these variables.

There are two data types available in java

 Primitive data type
 Non-primitive data type

Primitive data type
There are eight primitive data types supported by java.primitive data types are

Predefind.by the language and named by a keyword.let us now look into detail

About eight primitive data types.

Byte

 Byte data type is an 8 bit signed two is compliment integer
 Minimum value is 128
 Maximum value is 127
 Defult value is 0
 Byte data type is used to save space in large arrays,mainly in place of
integers,since a byte is four times smallen than an int
 Example byte =100,byte b=-50

Short

 Short datais a 16-bit signed two’s complement integer

Written for

Course

Document information

Uploaded on
February 24, 2022
Number of pages
2
Written in
2021/2022
Type
Class notes
Professor(s)
E balagurusami
Contains
All classes

Subjects

$7.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
shahanat

Get to know the seller

Seller avatar
shahanat india
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
4 year
Number of followers
0
Documents
16
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions