| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Difference between a Scrollbar and a ScrollPane? | | 1 |
| How will you create the class for the following scenario?
Employees under one employee?
| Bally-Technologies | 2 |
| What are field variable and local variable? | | 2 |
| What is the range of the char type? | | 2 |
| What is a super class and how super class be called? | | 3 |
| what is real-time example of runtime polymorphism and
compile time polymorphism | | 1 |
| After compilation of java program we'll get .class code. If
it's generated in OS Windows XP will it work on OS Linux? If
yes why? If no why? | Aricent | 4 |
| Can we declare an anonymous class as both extending a class
and implementing an interface? | Wipro | 7 |
| what is the difference between sleep() and Wait()? | Accenture | 4 |
| can we declare private class in java file? | | 6 |
| What is the life cycle of an Applet ? | | 1 |
| What Method and class used for Connection pooling ? | Wipro | 4 |
| What is static variable and static method? | TCS | 8 |
| 10. class Nav{
11. public enum Direction { NORTH, SOUTH, EAST, WEST }
12. }
13. public class Sprite{
14. // insert code here
15. }
Which code, inserted at line 14, allows the Sprite class to
compile?
a)Direction d = NORTH;
b)Nav.Direction d = NORTH;
c)Direction d = Direction.NORTH;
d)Nav.Direction d = Nav.Direction.NORTH; | | 1 |
| how can u create the object with out new operator | | 2 |
| What is the difference between jsp and servlet? | Symphony | 5 |
| Which all r Final classes in java except string? | | 3 |
| What is the differnence between String Buffer and String
builder despite having knowledge that String builder is
faster than String Buffer and last one is threadsafe.please
tell another important difference. | | 3 |
| what is overloading in java? | DNS | 4 |
| Explain Global variables in Packages? | | 2 |
| |
| For more Core Java Interview Questions Click Here |