سؤال

Hi I am working on a java project. I am using eclipse as an IDE. I have a file FileProvider.java in the package com.ibm.wala.util.io. For this file Eclipse is making two class files FileProvider.class and FileProvider$EclipseUtil.class. Can someone tell me why Eclipse is creating second class file.

هل كانت مفيدة؟

المحلول

Because you defined an inner class called EclipseUtil in FileProvider.

نصائح أخرى

You have an inner class called EclipseUtil in your FileProvider class.

As your FileProvider.java has declared EclipseUtil as inner class.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top