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
How do you answer polymorphism?
What is static in oop?
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
What is byval and byref? What are differences between them?
Can you inherit a private class?
Explain the advantages of inheritance.
Why multiple inheritance is not possible?
Can an interface inherit a class?
What is overriding vs overloading?
What is for loop and its syntax?
What is destructor oops?
Is data hiding and abstraction same?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is difference between abstraction and encapsulation?
What is encapsulation in oop?