Thanks to visit codestin.com
Credit goes to www.java2s.com
Home
Java
2D Graphics GUI
3D
Advanced Graphics
Ant
Apache Common
Chart
Class
Collections Data Structure
Data Type
Database SQL JDBC
Design Pattern
Development Class
EJB3
Email
Event
File Input Output
Game
Generics
GWT
Hibernate
I18N
J2EE
J2ME
JavaFX
JDK 6
JDK 7
JNDI LDAP
JPA
JSP
JSTL
Language Basics
Network Protocol
PDF RTF
Reflection
Regular Expressions
Scripting
Security
Servlets
Spring
Swing Components
Swing JFC
SWT JFace Eclipse
Threads
Tiny Application
Velocity
Web Services SOA
XML
int « Data Type « Java
Java
Data Type
int
1.
Java int:int is 32 bit signed type ranges from –2,147,483,648 to 2,147,483,647.
2.
Integer class creates primitives that wrap themselves around data items of the int data type
3.
Rolling the Dice
4.
Are all hex integers negative
5.
Int Overflow
6.
Multiply a decimal fraction, not using floating point
7.
The Integer class cannot be changed
8.
Demonstrate a type wrapper.
9.
Autoboxing/unboxing int
10.
Getting a Valid Integer
11.
Convert string to integer
12.
Integer.toBinaryString
13.
Convert octal number to decimal number
14.
Convert binary number to decimal number
15.
Convert decimal integer to octal number
16.
Convert decimal integer to hexadecimal number
17.
Convert hexadecimal number to decimal number
18.
Integer.toHexString
19.
Integer.MIN_VALUE
20.
Java Sort int Array
21.
Compare Two Java int Arrays
22.
Pass an integer by reference
23.
Modifiable Integer
24.
Given an integer, return a string that is in an approximate, but human readable format
25.
Returns the sign for int value x
26.
Gets the maximum of three int values.
27.
Gets the minimum of three int values.
28.
Add two integers, checking for overflow.