| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is mean by String and StringBuffer?
What is mean by Methooverriding and Overloading?
| Satyam | 2 |
| How many ways can an argument be passed to a subroutine? | | 2 |
| Which Math method is used to calculate the absolute value of
a number? | Accenture | 3 |
| question on Thread synchronization | Huawei | 1 |
| What are integer overflows and underflows and how to handle
them? | Wipro | 2 |
| 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 |
| What is advantage of using threads? | BMC | 2 |
| why interfaces are faster than abstract classes? | | 2 |
| what do you meant by Platform-Independent? | Persistent | 4 |
| why the equals method can be override?when we override the
equals method? | | 4 |
| Explain the term serialization? | Wipro | 6 |
| What is synchronization? How it can be achieved? | | 2 |
| What primitive Java types? Howmany are they and what are
their names? | | 3 |
| What is the difference between throw and throws? | Cap-Gemini | 2 |
| If two threads call a static method at the same point of
time, what will happen? | KPIT | 1 |
| What is Vector?Can you elaborate how Vector is Thread safe? | | 3 |
| Can we declare static variables in JSP page. | TCS | 3 |
| when asub class inherits a super class and overrides a
public method of super class in sub class(public method in
super class).
why these methods needs to be public in sub class.
(otherwise compile time error). | | 2 |
| could you run the java program without main method? | | 1 |
| Difference between JDK, JRE, JVM | Oracle | 5 |
| |
| For more Core Java Interview Questions Click Here |