| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| printstream class method println() is calling using System
class and its static object out .how it is explain any one
in detail with example ? | TCS | 1 |
| Program to find greatest prime number in n numbers? | Huawei | 3 |
| when to use abstract class and when to use interface? | IonIdea | 5 |
| how to handled exceptions & erros in ejb? | Satyam | 1 |
| I have 100 records in a table with two rows. I need to
display 10 records per page like Google Search. I need only
the Logic(Pagination) in Pure Java. No JSP and all..Thanks
in Advance... | Cybernet | 2 |
| What is the is a and has a relation ship in oops concept in
java? | BearingPoint | 5 |
| what modifiers are used with top-level class? | | 2 |
| what are the purposes of native, transiant key words? | | 2 |
| How to print nodes of a Binary tree? | TCS | 1 |
| 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 |
| What is stop(), suspend(), resume() method? | | 3 |
| What is Hash Code in Java? | Cognizent | 1 |
| What is the difference between C++ & Java? | Syntel | 21 |
| who was the founder of java
| HCL | 8 |
| what is the use of declaring constructor as private? | Sai-Softech | 3 |
| What is the difference between add() and addElement()
method in Vector Class ? | TCS | 2 |
| What is Session and cookies?Explain in detail with an
example? | CTS | 2 |
| System.out.println(101/14)
what is the output?
a)6
b)14
c)7.14
d)0 | Accenture | 6 |
| Life Cycle of Thread | IBM | 3 |
| How to add two numbers with out using Arithmetic , union
operators in java....?
But we can use bitwise operators... but how...?
| CTS | 2 |
| |
| For more Core Java Interview Questions Click Here |