String class | bold = mandatory italic = non-terminal normal font = optional | 0 or more methods to the methods it inherits from its superclass | final class | a list of variables, called instance variables, corresponding to data that will be present in each instance | its members from access by other classes or objects using an access modifier | Variables and Data Types | the internals of a computer system such as 'Record', 'Table', 'Data', 'Structure', or 'Information' | any public class in other packages | string | | only one superclass | implementation for all its instance methods unless the class is abstract | its own source file | several similar objects | behaviour from its superclass | data associated with each object | to increase system security by preventing system subversion | | public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } | create an instance of it | more than one interface | a package | elements as follows: - class variables
- instance variables
- constructors
- the most important public methods
- methods that are simply used to access variables
- private methods
| Object class | a class type whose instances are the values of the class type | 1 class definition | | the keyword final before the keyword class in the class declaration | zero-based indexing | methods that are inherited from the class's superclass | class classname { // declarations of variables // declarations of constructors // declarations of other methods with public ones first } | | 1 named package rather than the default package | specification | constructor | abstract |