Answer Posted / xyz
this code snippet will swap the value of i and j
This code works same as
i=i+j;
j=i-j;
i=i-j;
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Why do we use class in oops?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
2. Give the different notations for the class.\
What is object and class in oops?
Which method cannot be overridden?
What is interface? When and where is it used?
What is coupling in oops?
Which language is pure oop?
Why is abstraction used?
Can destructor be overloaded?
Can an interface inherit a class?
What is destructor give example?
What language is oop?
Why is polymorphism needed?