ublic class Java_Coding_Samples {
public static void JavaHungr(NumberFormatException ae){
System.out.println("integer");
}
public static void JavaHungry(Exception e){
System.out.println("string");
}
public static void JavaHungry(ArithmeticException ae){
System.out.println("object");
}
public static void main(String[] args) {
JavaHungry(null);
}
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an <applet> tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.
Explain illegalmonitorstateexception and when it will be thrown?
What is bom encoding?
what is the difference between a threads start() and run() methods? : Java thread
Can I declare class as static or private?
What is serializable interface?
13 Answers Infosys, Probity Soft, Seed Infotech,
describe synchronization in respect to multithreading? : Java thread
what is the difference between Object Based Language and Object Oriented Language?
What is classpath?
What is data object example?
What’s the difference between callable and runnable?
What is java in detail?