What classes of exceptions, caught by a catch clause?
A catch clause can catch any exception that is assigned to
the throable type.It includes both run time errors and
exceptions.
| Is This Answer Correct ? | 1 Yes | 1 No |
what do you meant by Platform-Independent?
How to excute - Interface - Inner class- method can any one tell how to execute/ call this main method public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("inside"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }
whats the purposr of using serialization?
how are methods defined?
Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
What is methodological theory?
What is the role of the java.rmi.naming class?
Are the equals() and hashCode() protected methods of object class?
What are the advantages of compiled language?
Why generics are used in java?
how we can write the string concatenation program in java.
What is difference between float and double?