Multiple choice technology programming languages

All classes extend from

  1. java.lang.object

  2. java.lang

  3. none

  4. java.lang.string

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Java, all classes implicitly extend from java.lang.Object, which is the root of the class hierarchy. The package name is java.lang, but the actual class name is Object (capitalized). Options B and D are incorrect - java.lang is a package, java.lang.String is a specific class. Option A has the class name capitalized correctly.