Answer Posted / rahul
create a class , having some private variables and setter
method for that variable , In constructor pass the
arguments to set this variable.
| Is This Answer Correct ? | 7 Yes | 33 No |
Post New Answer View All Answers
What is java instanceof operator?
How thread scheduler schedule the task?
What is the difference between array list and vector in java?
What exactly is methodology?
List the three steps for creating an object for a class?
What is a marker interface?
What is ctrl m character?
What are the loops in java?
What is a void method java?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
What are internal and external variables?
Which methods are used during serialization and deserialization process?
Explain wait(), notify() and notifyall() methods of object class ?
How to sort an array in java without using sort method?
How does thread synchronization occurs inside a monitor?