Answer Posted / sweety
Yes,Because everything is inside the class & accesses
methods and variables by only using objects.
as well as the main function is always resides within the
class i.e.similar name given to your file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can bst contain duplicates?
when to use 'mutable' keyword and when to use 'const cast' in c++
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is difference between pop and oop?
What is a class oop?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
write knight tour problem which is present in datastructure
What is ambiguity in inheritance?
What is difference between inheritance and polymorphism?
What are the 3 pillars of oop?
Whats oop mean?
Templates mean
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is advantage of inheritance?
What is difference between abstraction and encapsulation?