what is the difference between a java object reference and
c++ pointer?
Answer Posted / chandra prakash sahu
Both have same purpose,becoz both point some memory location
,they hold the address of that location.Java reference
variable point the memory location of an object whereas C++
ponter point the memory location of any primitive type of
data type.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What are the escape sequences in java?
Can you access the private method from outside the class?
What is the static variable?
What is meant by class?
Is hashset sorted in java?
What are heterogeneous objects?
Is upper case in java?
What is a local class in java?
What is a jagged array in java?
How do you calculate square roots?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
Explain the difference between transient and volatile in java?
Describe the process as to how substring() methodology mechanisms in java.
Can a hashset contain duplicates java?
Can an object be null?