Computer Science 225
Advanced Programming
Spring 2017, Siena College
Obscuring2 BlueJ Project
Click here to download a BlueJ project for Obscuring2.
Obscuring2 Source Code
The Java source code for Obscuring2 is below. Click on a file name to download it.
/* * Example Obscuring2: obscuring of a constant * * @author Darren Lim */ class A { static int MIN_PRIORITY = 59; }; public class Obscuring2 { static A Thread; public static void main(String args[]) { // print value of class // variable Thread.MIN_PRIORITY System.out.println(Thread.MIN_PRIORITY); // print value of // java.lang.Thread.MIN_PRIORITY System.out.println(java.lang. Thread.MIN_PRIORITY); } }