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

Asked by Chiragpaliwal, Last updated: May 08, 2021

+ 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.