A class can be a subclass of itself?
Answers were Sorted based on User's Feedback
Answer / vishal
No. Each class in Java is subclass of "Object" class
Is This Answer Correct ? | 9 Yes | 5 No |
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
List any five features of java?
why String class is immutable.
What is the final variable?
What is an array length?
Suppose there is an Online shopping cart application having different objects like Cart, SelectionItem, Billing, COnfiguration, Authentication, Authorization, PersonalDetails etc. Out of this which one can be made a singleton pattern and why?
Are arrays immutable in java?
Which method will get invoked first in a stand alone application?
What are alternatives to java serialization?
What is the final class?
What is object-oriented programming?
What is a singleton class? Give a practical example of its usage.