← TCS questions
Reported in a candidate post, Aug 2019

Root class of all classes and nature of String in Java

Filed under TCS

The question

Identify the base class from which all classes in Java inherit, and explain whether String is a class or primitive data type.

No write-up yet. Related questions below have one.

Related TCS questions

Collected from public candidate posts and coding forums. Updated Nov 2026.