| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Without creating a new object, How you can retrieve a
String or other object? | | 1 |
| how to handle http request in struts | Polaris | 2 |
| System.out.println(101/14)
what is the output?
a)6
b)14
c)7.14
d)0 | Accenture | 6 |
| What will happen inside init() in servlet. my interviewer
asked servlet lifecycle. i said "once servlet is loaded in
to memory init() will be called which performs servlet
initialization " . Again interview asked what values will be
initialized . what is difference between init() and
init(ServletConfig config). | Infinite-Computer-Solutions | 1 |
| Default layout of panel and frame? | | 2 |
| How to transfer data from an Applet to Servlet ? | | 1 |
| In which way does a Primitive data type is passed ? | Sun-Microsystems | 2 |
| int a=10,b=20,c=30 a= b+c;b=a+c;c=a+b;
System.out.println("The value is"+a+b+c;
| Honeywell | 16 |
| Which containers may have a MenuBar? | | 1 |
| how can u create the object with out new operator | | 2 |
| Differentiate Vector and ArrayList? | Wipro | 4 |
| What are the parameters used in Connection pooling? | IBM | 1 |
| what is polymorphism with example?types of polymorphism? | HP | 6 |
| Functionality of JVM? | Infosys | 4 |
| List interface? | | 2 |
| how you will prevent method overriding? | HCL | 4 |
| which one is performance wise advantageious from List,Set,Map? | | 5 |
| What is a class ? | | 8 |
| What is a deadlock ? | | 5 |
| Explain, why the constructor is required in implemented
class? | | 2 |
| |
| For more Core Java Interview Questions Click Here |