Text is justified when it is aligned with both edges. You can justify all text in a paragraph either including or excluding the last line.
If you don’t select a type object or insert the cursor in a paragraph, the justification applies to new text you create.