100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 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








Whoops! We can’t load your doc right now. Try again or contact support.

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

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
$7.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

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
0
Member since
3 year
Number of followers
0
Documents
16
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

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

Frequently asked questions