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 type of variable is gender?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
What does sprintf mean?
What are different types of inner classes ?
What super () does in java?
How is garbage collection controlled?
What is local declaration?
Does isempty check for null?
What loop means?
How do you input a string in java?
How many bits are in a sentence?
What are the parts of a method?
What is the abstraction?
What are computer functions?
Why does java does not support multiple inheritance? Explain