Answer Posted / harpreet
And to call the constructor of some other class, use super()
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How to sort an array from smallest to largest java?
Why is core java important?
How define set in java?
Which variables are stored in heap?
What is the difference between abstraction and encapsulation?
Can a method be static?
Why java is made?
What are the differences between string, stringbuffer and stringbuilder?
What flag up means?
Can long be null in java?
What is a treeset in java?
Is java jre still free?
What happens if a constructor is declared private?
Explain, java is compatible with all servers but not all browsers?
What does %d do in java?