Answer Posted / teja
dont provider setters and provide the parameter constructor
| Is This Answer Correct ? | 10 Yes | 27 No |
Post New Answer View All Answers
Can we declare an array without size in java?
Which is better ascii or unicode?
When is the finalize() called?
How to use Media tracker Class.
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
Is null a string in java?
What comes to mind when someone mentions a shallow copy in java?
What is data structure in java?
Can a static method be overridden in java?
What is the difference between class forname and new?
Does list allow duplicates in java?
What is core java called?
What is the arraylist in java?
Is hashset sorted in java?
How to instantiate static nested classes in java?