Oracle claims Google’s Android smartphone operating system violated its copyright on parts of the Java programming language, while Alphabet Inc.’s Google says it should be able to use Java without paying a fee under the fair-use provision of copyright law.