Question

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.

Was it helpful?

Solution

Because you defined an inner class called EclipseUtil in FileProvider.

OTHER TIPS

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

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top