what is check p object in java
Answer / pradip mishra(b-tech it)
Lets start with an example. You must have contacts of many
people in your mobile. You can use a contact to call a
person. The person is actually somewhere else, but the
contact helps you to call them. You can think of a
Reference variable to be a contact and Object to be the
actual person you are calling. Basically a reference
variable just points to an actual object. For example if we
have a class,
Is This Answer Correct ? | 1 Yes | 2 No |
What is immutability in java?
They had given one progam final HashMap hm=new HashMap(); public void show() { hm.put("name",value); } in this prg here the final hashtable value can be changed in put method,its the prg run?
Does isempty check for null?
What is numel matlab?
What is navigable map in java?
Explain method overloading?
What about interthread communication and how it takes place in java?
Explain different ways of passing arguments to sub-routine?
If your team member writes code with lots of static variables and static methods, will it cause any side effects?
What is the purpose of the main method?
There are 2 classes, 1 LandAnimal and another WaterAnimal. There is another class Animal which wants to have the properties of both LandAnimal and WaterAnimal. How will you design this situation?
Is java free for businesses?