SHARE
TWEET

static final

DulcetAirman Apr 11th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package ch.claude_martin;
  2.  
  3. import java.util.function.IntFunction;
  4. import java.util.function.IntSupplier;
  5.  
  6. public class SomeClass {
  7.     static {
  8.         m();
  9.     }
  10.     static int i = 10;
  11.  
  12.     static final int J = twenty();
  13.  
  14.     static int twenty() {
  15.         return 20;
  16.     }
  17.  
  18.     static void m() {
  19.         System.out.println(i);
  20.         System.out.println(J);
  21.     }
  22.  
  23.     public static void main(String args[]) {
  24.         m();
  25.     }
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top