Can a class inherit the constructors of its superclass?
Answer Posted / ravikiran(aptech mumbai)
No constructor overriding is not possible only constructor
overloading is possible
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What is the static method?
What is nested loop? What is dangling else condition in it?
What is the abstraction?
What is map java?
What is a nullable field?
In which order the iterator iterates over collection?
What is binary search in java?
I want to print “hello” even before main is executed. How will you acheive that?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
What is a prefix function.write down a code to compute prefix function.
Is 0 true or is 1 true?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What is the difference between private & public & friendly classes?
Can list be final in java?
What is the difference between state-based unit testing and interaction-based unit testing?