fundamental Code Samples
- What's needed to be prepared for learning Java programming?
- Hello World example in Java
- Java Programming Keywords Summary
- How do I get command line arguments?
- How do I do bitwise exclusive OR operation?
- How do I use Override annotation?
- How do I compare string regardless their case?
- How do I mark method as deprecated?
- How do I clone an object?
- How do I create an inner class?
- What is SuppressWarnings annotation?
- How do I create type specific collections?
- How do I do bitwise AND operation?
- How do I do bitwise OR operation?
Page of 3 |
Prev
|
Next
How do I convert double value into int value?
To convert double value into an int value we can use type casting or using the Double.intValue() method call. The code snippet below show you how to do it.
