Skip to content
Sign upLog in
← Back to Community
Is it possible to have "hidden" files?
Profile icon
AustinMcGowan

Is it possible to have files hidden from the student. For example I want the student to make an Array of Dog objects and I have told them what the constructor looks like. I don't want them to see the code for Dog as they already know everything Dog should do and shouldn't have to worry about the implementation.

This is important because I would like to ask them to create Dog at a later point and don't want them going back and copying what was given to them. I normally accomplish this in class by providing the .class file as most of them don't know how to decompile in back into the java file.

This would also be useful when you have them create classes in one part of the assignment then use them in another part. You could give them the class for the second part without them being able to see/copy it to the first part.

Voters
Profile icon
Enzo_AngeloAnge
Profile icon
ZhihanGe
Profile icon
RZwolinski
Profile icon
prof_scottscott
Profile icon
AustinMcGowan
Comments
hotnewtop
Profile icon
StudioHawaii

I don't think its posible