string is a class or data type in java?

Answer Posted / neeraj03

'string' keyword is not valid in java, 'String' is the
correct keyword and it's a class.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does no cap mean?

788


why reinterpret cast is considered dangerous?

2106


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1621


Can destructor be overloaded?

795


What are properties in oop?

808


Why do pointers exist?

877


What are the 4 pillars of oop?

887


What is constructor overloading in oop?

862


What are constructors in oop?

799


What is difference between inheritance and polymorphism?

772


What are oops methods?

760


What is difference between data abstraction and encapsulation?

839


How do you answer polymorphism?

794


Why we use classes in oop?

770


What is use of overloading?

858