What is the difference between declaration and definition?
Answer Posted / s
Declaration means we are just creating a variable or method.
Defination means we are assigning some value for a variable
& doing some functions in method
Is This Answer Correct ? | 116 Yes | 48 No |
Post New Answer View All Answers
How can you overcome the diamond problem in inheritance?
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(); }
What is polymorphism in oops?
What is the real life example of polymorphism?
Can private class be inherited?
What is encapsulation in oops?
Why do while loop is used?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
Why do we use oops?
What is the diamond problem in inheritance?
Templates mean
• What are the desirable attributes for memory managment?
hi all..i want to know oops concepts clearly can any1 explain??
Why multiple inheritance is not allowed?
What is overriding in oops?