Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Associate Certification (OCAJP 8)
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Associate Certification (OCAJP 8)
integer and long
fahmida tasnim prema
Greenhorn
Posts: 20
posted 5 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
how to check if a certain value is in integer or in long format ?
Stephan van Hulst
Saloon Keeper
Posts: 15510
363
posted 5 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
int
s and
long
s are not formats, they're data types. You don't need to check that values are of these data types, the compiler does that for you.
What causes you to ask this question? What are you trying to achieve?
Campbell Ritchie
Marshal
Posts: 79178
377
posted 5 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is there a way to distinguish
long
s and
int
s at runtime? I never thought there was.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Integers and Textfields.
to check double values
Generate next hexadecimal?
jsp checkbox value conversion
equals method
More...