What is Difeerence between List obj=new ArrayList(); and
ArrayList obj=new ArrayList()?
which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.
What is polymorphism oop?
What is abstrac class?where is it use?
How is class defined?
What is encapsulation?
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
Polymorphism with an example?
what is difference between thread and programme.
What are callback functions in c++
what is the difference between containership and inheritence?
Should you protect the global data in threads? Why or why not?
Write 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!!!)