java coding adventure

Polish apples in Russia: what’s the package (in Java)?

What is a package? The potato asked me yesterday: what actually is a package? Let's take a look at the project: In your *.java file, you also have the package blog.jumpstart.learningPath defined: The package represents a real system folder.¬†They are created in the source folders. When you check the file properties (Right click on file… Continue reading Polish apples in Russia: what’s the package (in Java)?

java coding adventure

Getting lost on the trail: what when there’s no keyword?

But Calculator's attributes have no keyword! In last adventure, I told you that you can use the public keyword in class declaration or before every class member: attribute and method. When something is public it's known everywhere. You've seen public class and public methods. Then you looked at the code and you've noticed: And you… Continue reading Getting lost on the trail: what when there’s no keyword?