Hi All, I am new to programming and want to know how can i write a code to take input of 2 numbers from user and swap it without using a temp variable?
NIIT,
2 4646How can i write a code in c# to take a number from the user and then find all the prime numbers till the number entered by the user.
4 7692why we are declare the function in the abstract class even though we are declaring it in Derived class?
TCS,
1 4112Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
HCL,
2161Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
TCS,
4807c++ provides classes...and classes do what we want but why then strcut are used...if we say data hiding... it is also provided by c++ in structs then why to prefer clasess
1 4889
Who invented oop?
What is the full form of oops?
What is encapsulation in ict?
Can we create object of abstract class?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is data binding in oops?
Which method cannot be overridden?
What is basic concept of oop?
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?
What is encapsulation in oops?
What are the important components of cohesion?
Is html an oop?
What is overriding in oops?
What are the features of oop?
What is abstract class in oops?