# Consider the following class definition.Class Student extends String{}What happens when we try to compile this class?

Will not compile because class body is not defined

Will not compile because class is not declared public

Will compile successfully.

Will not compile because String is abstract

Please do not use chat terms. Example: avoid using "grt" instead of "great".