| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| I have a String s = java; What is the output when I say
s.replaceAll('j', 'k'); Also what is the value of s after
replacing? | KPIT | 5 |
| In what circumstances, compiler will supply a default
constructor for a class? | | 4 |
| What are the limitations for static method? | | 3 |
| Explain method overloading and overriding? | | 6 |
| What is static binding and where it occurs? | | 2 |
| Name two subclasses of the TextComponent class? | | 2 |
| using equals method overriding which objects are
compared?i.e same class objects or other class
objects?Explain me. | | 3 |
| what is the life cycle of jsp? | Photon | 2 |
| How many objects are created for a singleton class | Ness-Technologies | 4 |
| What is meant by event handling? | | 1 |
| Difference between an argument and a parameter? | HCL | 4 |
| what are Checked & Unchecked exceptions ? | | 2 |
| How the threads are synchronized? | BMC | 2 |
| what is the purpose of method overriding in java where v r
completely re-defining a inherited method instead y can't v
create a new method and define.If the question is very silly
plz excuse me and do reply.Thank U! | | 5 |
| Howmany classes that package java.applet.* contains? | TCS | 1 |
| Name the method that is used to set a TextComponent to the
read-only state? | | 1 |
| explain System.out.println | IBM | 41 |
| How to make a class immutable? | Bosch | 6 |
| Explain Stream Tokenizer? | | 3 |
| Program to output as below formate:
1
2 3
4 5 6
7 8 9 10 | Huawei | 2 |
| |
| For more Core Java Interview Questions Click Here |