Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

Java long data type

class LongExample {
  public static void main(String[] args) {
    	
    long range = -42332200000L;
    System.out.println(range);    // prints -42332200000
  }
}
Comment

Java long data type

class Main {
  public static void main(String[] args) {
    	
    double number = -42.3;
    System.out.println(number);  // prints -42.3
  }
}
Comment

PREVIOUS NEXT
Code Example
Java :: my maven project give error when adding javax.xml.bind dependency 
Java :: java resultset to table 
Java :: java enum to string 
Java :: java map remove all null values 
Java :: arraylist replace 
Java :: UPLOAD TEXTFILE USING CYPERTEXT USING JAVA 
Java :: Java Creating a TreeSet 
Java :: Java code to launch shell script with arguments 
Java :: scaletype android dynamic 
Java :: for each loop in java 
Java :: java nested static class 
Java :: android studio check if email is valid java 
Java :: abstract class java constructor 
Java :: linear serach in java 
Java :: kotlin spinner default value 
Java :: java string replaceall for space 
Java :: custom dialog in android 
Java :: Java Remove HashMap Elements 
Java :: Java Create a Scanner Object in Java 
Java :: java log4j example 
Java :: java binary tree 
Java :: what is method in java 
Java :: java byte data type 
Java :: Java Exception handling using try...catch 
Java :: generics Interface in java 
Java :: java convert int to string 
Java :: how to get the content og a bottongroup in java 
Java :: Java public no-arg constructor 
Java :: intelij show method information 
Java :: labeled break Statement Java 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =