What is the default size allocated for array in the
statement if size not specified
" int a[] "
Answer Posted / nitish sahu
array is an user defined data type its default size is 2.
| Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
Why do we use polymorphism?
What is difference between data abstraction and encapsulation?
What is advantage of inheritance?
Can you inherit a private class?
What is inheritance in simple words?
What is class and example?
Which is better struts or spring?
What do you mean by abstraction?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is overloading in oop?
write knight tour problem which is present in datastructure
What are the 4 main oop principles?
Is data hiding and abstraction same?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is multilevel inheritance explain with example?