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
Why singleton pattern is better than creating singleton class with static instance?
What is an anonymous class in java?
What will happen if a thrown exception is not handled?
Why are parameters used in functions?
How do you execute a thread in java?
explain the concept of virtual method invocation in polymorphism in detail?
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's the default access specifier for variables and methods of a class?
What is codebase?
Define jre i.e. Java runtime environment?
Is finalize() similar to a destructor?
What is the disadvantage of java?
Does java have a compiler?
Differentiate storage classes on the basis of their scope?
What is boolean law?