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

Answer Posted / ashwini kumar vatsa

class A extends String
because String is a pre defined class that is bind with java
api.so when we declares this statements that means we want to
access the api class String,but it cannot be access by the
users.

Is This Answer Correct ?    4 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is hash in java?

508


What is hotjava?

547


In which language java is written?

531


What is difference between word and integer?

588


what do you understand by synchronization? : Java thread

544






Who is founder of java?

524


Can an interface be defined inside a class?

515


Is a char always 1 byte?

498


What invokes a thread's run() method in java programming?

561


Does printwriter create a file?

536


How do you find the independent variable?

505


Is passing by reference faster?

517


What do you mean by thread safe?

534


What are the advantages of exception handling?

548


What are the advantages of java over cpp?

549