why would you want to declare a true false variable as type int?
问题 The code below is from one of the classes in a SDK jar I'm using in my app. How did it compile with int as the type for the indexSize, bestWidth, etc. below? config = this.mCamera.getParameters(); int indexSize = false; int bestWidth = false; int bestHeight = false; int maxRes = false; ZZZCLog.d("Camera supported sizes"); List<Size> supportedSizes = config.getSupportedPreviewSizes(); for(int i = supportedSizes.size() - 1; i >= 0; --i) { ZZZCLog.d(((Size)supportedSizes.get(i)).width + " " + (