fork(1) download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. // your code goes here
  13. int FLAG_ACTIVITY_SINGLE_TOP = 0x20000000;
  14. int FLAG_ACTIVITY_NEW_TASK = 0x10000000;
  15. System.out.println("OR Value : " + (FLAG_ACTIVITY_NEW_TASK|FLAG_ACTIVITY_SINGLE_TOP));
  16. System.out.println("OR Value in hex: " + String.format("0x%x", (FLAG_ACTIVITY_NEW_TASK|FLAG_ACTIVITY_SINGLE_TOP)));
  17. }
  18. }
Success #stdin #stdout 0.1s 320576KB
stdin
Standard input is empty
stdout
OR Value : 805306368
OR Value in hex: 0x30000000