Answer Posted / venkat kanneganti
for objects Head that is garbage collectable,
for methods,local variables are stored in stack.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Write a program to check for a prime number in java?
How do you find the absolute value?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
How do you write a conditional statement?
What are the advantages of functions?
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
What are extraneous variables examples?
What makes a function well defined?
What is double checked locking in singleton?
Can we have two main methods in a java class?
Explain what is encapsulation?
Can constructor be synchronized?
Why string is immutable with example?
What is the difference between error and an exception?
What is a super method?