string is a class or data type in java?

Answer Posted / priya

string is class

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation in ict?

597


Can static class have constructor?

580


What is use of overloading?

602


What are the benefits of interface?

572


What is purpose of inheritance?

641






What is polymorphism what are the different types of polymorphism?

556


What does <> mean pseudocode?

618


Can a destructor be called directly?

595


What is overloading in oops?

591


What is the types of inheritance?

594


Is this job good for future? can do this job post grduate student?

1685


is there any choice in opting subjects like 4 out of 7

1725


What is class encapsulation?

584


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

1689


What is the difference between encapsulation and polymorphism?

583