It can be done if you give them a text file with the code stripped out. The javadoc utility program can take in a .java file and create a skeleton HTML file that shows the various things inside a class, but not the implementation code. You can cast freely between all numeric types, though casting a float or a double to an integer type results in truncation . You can also cast an int as a character, so you can convert from a numeric to a character. But you cannot cast to or from boolean type.
Variables begin with a lowercase letter.
This applies to local variables, parameters, and member fields of classes. If the name contains several words, capitalize the first letter of each word except the first. Do not use underscores. Package names begin with a lowercase letter. Methods begin with a lowercase letter.