Answers for "type casting of long into integer in java in gtter"

4

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);
    	
        }
    }
Posted by: Guest on November-21-2020

Code answers related to "type casting of long into integer in java in gtter"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language