Answer Posted / priya
public:public is a access specifier and it is used to access
class member through out the program .
private:private is a access specifier by default our variables are private when we didn't specify any data type for our variable.
protected:protected is a access specifier and its a immediate to derived class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Is data hiding and abstraction same? Why is static class not inherited? Hi friends
I have experience of 6 months in website design and
maintanence. Now i am looking for other IT jobs.. to switch
platform. please post any interview you know in chennai. What is polymorphism programming? Can abstract class have normal methods? Which is better struts or spring? What is the full form of oops? What is polymorphism explain? What is multilevel inheritance explain with example? just right the logic of it
1--> If few people are electing then every time ur candidate
should win
2--> arrange books in box, if box carry weight == books
weight then take another box..... find the no of box
required. What is the advantage of oop over procedural language? Can private class be inherited? Where You Can Use Interface in your Project How do you achieve polymorphism?