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
What are the four integer types supported by java?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
What is difference between final and finally in java?
Can long be null in java?
Can we declare the static variables and methods in an abstract class?
What is argument in java?
What is constant in programming?
What is numeric function?
What data type is string java?
What is the relationship between class and object?
What are the differences between graph and tree?
Can we extend singleton class?
What is a lock or purpose of locks in java?
Should a main method be compulsorily declared in all java classes?
How to change the priority of thread or how to set priority of thread?