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 the final access modifier in java?
Why do we need strings in java?
How do you do exponents in java?
What is the difference between Grid and Gridbaglayout?
What does opcode mean?
When can you say a graph to be a tree?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What is data string?
What is thread life cycle?
In the below example, what will be the output?
What are the restrictions that are applied to the java static methods?
How use .contains in java?
Can we convert stringbuffer to string?
Explain an algorithm to find depth of a binary tree.
Explain about fail safe iterators in java?