give me the answer of this code
class A extnds String
This code we can write r not in Java? Explain?

Answer Posted / anjani kumar jha

U cant extends String class because it is final class.

Is This Answer Correct ?    29 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by synchronized non access modifier?

755


Can I import same package/class twice?

689


How to create a custom exception?

746


What is dot operator?

784


What will happen if a thrown exception is not handled?

744


Differentiate jar and war files?

779


What is runtime locatable code?

1119


Can a method inside a interface be declared as final?

718


What is the order of arraylist in java?

818


When will you define a method as static?

792


What is the base class of all exception classes in java?

792


What is a parameter in simple terms?

747


Why a dead thread occurs?

769


What is the difference between equals() and?

822


What is difference between equals and hashcode method?

766