Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java long to int

    public class LongToIntExample2{
      
    	public static void main(String args[]){
          
        	Long l= new Long(10);
        	int i=l.intValue();
        	System.out.println(i);
    	
        }
    }
Source by www.javatpoint.com #
 
PREVIOUS NEXT
Tagged: #java #long #int
ADD COMMENT
Topic
Name
7+6 =