Which type does String inherit from in the code below? String s = - ProProfs Discuss
Advertisement

Which type does String inherit from in the code below? String s = 'Hello World';?
1. Prototype
2. Class
3. subject
4. Object

Which type does String inherit from in the code below?
String s = 'Hello World';?<br/>
1. Prototype<br/>
2. Class<br/>
3. subject<br/>
4. Object<br/>

Change Image    Delete

Asked by Chiragpaliwal, Last updated: Nov 11, 2024

+ Answer
Request
Question menu
Vote up Vote down

1 Answer

Malhar Ulhas Agale

Malhar Ulhas Agale

Have my hand in Salesforce Administration and Development

Malhar Ulhas Agale
Malhar Ulhas Agale, Salesforce Developer, Mtech Computer Networks & Information Security, Pune

Answered Oct 22, 2019

String is a Class and it has methods in it.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.