| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How to call a Stored Procedure from JDBC? | Satyam | 2 |
| Explain method overloading and overriding? | | 5 |
| Difference between Applet & Application? | | 3 |
| public class Garbage
{
int a=0;
public void add()
{
int c=10+20;
System.out.println(c);
System.out.println(a);
}
public static void main(String args[])
{
Garbage obj=new Garbage();
System.gc();
System.out.println("Garbage Collected");
obj.add();
}
}
Above is a code in java used for garbage collection. object
obj has been created for the class Garbage and system.gc
method is called. Then using that object add method is
called.System.gc method if called the obj should be garbage
collected? | | 6 |
| What is a Java package and how is it used? | | 1 |
| What is the ResourceBundle? | Elementus-Technologies | 2 |
| how to connect one jsp page to another jsp page???? | Symphony | 2 |
| What are command line arguments? | | 2 |
| can you program for reverse string? | IBM | 4 |
| what is request processor? | Virtusa | 1 |
| How can be define MARKER interfce in java | | 1 |
| What is Vector?Can you elaborate how Vector is Thread safe? | | 3 |
| What are the steps to do connection pooling in weblogic? | TCS | 1 |
| How to deprecate a method?
Show it with proper example.
Plz give the answer of this.Thanx in advance.
mail me: tanzeem.akhtar@gmail.com | | 1 |
| What is serializable interface? | Infosys | 5 |
| What is compile time polymorphism? | Elementus-Technologies | 5 |
| What are packages and name a few? | | 2 |
| what is abstract method with example? | Virtusa | 3 |
| What is exception and error? and what is the difference
between them? | | 2 |
| can we have virtual functions in java? | Wipro | 4 |
| |
| For more Core Java Interview Questions Click Here |