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 4554How 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 7548why we are declare the function in the abstract class even though we are declaring it in Derived class?
TCS,
1 3993Write 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,
2110Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
TCS,
4756c++ 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 4816
Can enum be null?
What is encapsulation with real life example?
2. Give the different notations for the class.\
How do you define a class in oop?
what are the different types of qualifier in java?
What is a class in oop?
what is the drawback of classical methods in oops?
What is meant by multiple inheritance?
Why is abstraction used?
What is constructor in oop?
What is the oops and benefits of oops programming?
What is the full form of oops?
What is class and object in oops?
What is multilevel inheritance explain with example?
What is encapsulation in ict?