I am having a little trouble understanding the protected access modifier in java (or the design behind it). I thought it meant package access and access through objects that
protected means visibile to other classes within the same package. since Second is in a different package 'second.Second', it cannot access .pro() in first.
if you created Second under the package name of 'first' - it would then work.