Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

object to int java

        int startInt = 123; // Start Integer
        Object objectInt = startInt; // Convert Integer to object
        if(objectInt instanceof Integer) { // Check if object is Integer
            int endInt = (int) objectInt; // Convert object to Integer
        }
 
PREVIOUS NEXT
Tagged: #object #int #java
ADD COMMENT
Topic
Name
2+9 =