-
-
}
}
">Hi, all where we will use this scenario like an abstract class with out abstract methods may i know what is the use of this class?when ur not creating the object and not implementing any of the methodpublic abstract class DemoAbstract { public static void main(String args[]) { System.out.println("inside main"); } }
-
-
-
-
-
-
-
-
-
-
-
Write a program using servlets that will take a numeric input on page named index page, if the input is 1 then page 1 will be displayed and if input is 2 thepage2 will be displayed.
The index page will contain an input field and a button. When the button will be clicked then on the basis of input (1 or 2) the respective page will be opened. The newly opened page i.e. page1 or page2 should display the name of page on it in green color.
-
-
-
How do you read MS Word document from Java Servlet
How I can read a MS Word file using Java Servlet, basically I want to read a doc file and then I want to put the data in the database, is it possible, and how?
-
-
-
-
Tell me the contexts in which the Unary numeric promotion is applied?
Unary numeric promotion is applied in the following contexts:1.operand of the unary arithmetic operators + and -2.operand of the unary integer bitwise complement operator ~ 3.during array creation; for example, new int[20], where the dimension expression (in this case 20) must evaluate to an int value 4.indexing array elements; for example, table['a'], where the index expression (in this case 'a')...
Java Interview Questions
Ans