COMP 250 Lecture Notes - Lecture 33: General Idea, Trie, Class Variable
Document Summary
Modifiers are words that we put in front of classes, methods, fields to specify certain properties about them, like if one class/method/field can be seen by another class (public vs. private). You put a package declaration at the top of your java files. There are a bunch of things that come with java, like java. lang package, which has object. java, string. java, etc. There are certain classes we"ve been using, like linkedlist, which are in the util package. Then, there are some packages from lectures, like. Packages correspond to directories on your file system . Here we have the package explorer, which is basically just files. It corresponds to the files in your system -- files moving from one directory to another. This is basically all there is to it. The jvm (software running your programs) doesn"t care about the java files, it cares about the class files.