Answer Posted / khadeer.k
public:
public is an access specifier which can be used throughout
the program.
protected:
protected is an access specifier which can be used in the
specified class and its derived class...
private:
private is an access speifier which can be used whithin the
class in which it is declared.
Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
Do you know about multiple inheritance?
What do you mean by abstraction?
Why multiple inheritance is not allowed?
Is this job good for future? can do this job post grduate student?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What are properties in oop?
Get me a number puzzle game-program
What causes polymorphism?
c++ program to swap the objects of two different classes
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.
Why do pointers exist?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is persistence in oop?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
Can enum be null?