I am having great difficulties understanding this construct
public class MyBucket extends bucket {
private double var1;
private MyShovel Shovel; <- this is the problem here
public MyBucket(int volume, MyShovel Shovel) {
Some code here
}
}
I cannot understand what private MyShovel Shovel is in Java terminology. It is a class defined in my project but I cannot determine what it is called in the Java world. Can someone please help me define it so I can research what it is. This is production code and it works. Just cannot figure out the official Java name for that construct.