1. what is throwable and where should we use this? 2. How can you increase the JVM memory? 3. Abstract class is a partially implemented class so, How can we call an abstract method without creating... 4. How to Stop the creation of objects(For ex:For Player class of Cricket Team,stop instance creation after... 5. Can HashMap store null values?If yes, how many and in which one? 6. What is the Difference between Runtime and RunTime java API's? 7. How we upload and download files in JSP and Servlets ,What methods we are using?? 8. Why return type is not a part of method signature? 9. what is the difference between String and StringBuffer? 10. Can we create a class in a method if it is possible how

Showing Answers 1 - 9 of 9 Answers

K.Suresh babu

  • Jan 2nd, 2007
 

E: 1. what is throwable and where should we use this?...

  Was this answer useful?  Yes

 Throwable class is the superclass of all errors and exceptions in the Java language.

Instances of two subclasses, Error and Exception  are conventionally used to indicate that exceptional situations have occurred.

  [ java.lang.Throwable..].......it implements Serilizable interface and extends Objects

  Was this answer useful?  Yes

String is Immutable where as StringBuffer is Mutable.Mutable: The objects whose contents can be modified is called as Mutable.Ex: U can try this.String myString = new String( "old String" ); System.out.println( myString ); myString.replaceAll( "old", "new" ); System.out.println( myString ); what the output is, here it is: old String old String

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions