| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the argument type of main() method? | | 2 |
| explain the life cycle of thread? | CTS | 5 |
| what is the Yield() method used in threads? | Accenture | 2 |
| What are the names of interfaces that doesn't consists of
method/s ? | | 3 |
| byte a=5;
byte b=5;
byte c=a+b;
System.out.println(c);
whats the o/p? | Wipro | 5 |
| what is Dictionary? and what purpose it is used for? | | 2 |
| What are the two major components of JDBC? | Mind-Tree | 4 |
| What is audio clip interface? Name few methods of it ? | | 1 |
| What is a Java package and how is it used? | | 2 |
| what is main difference b/w abstract class and interface | | 3 |
| 1).what is the difference between below examples
String s="vijay";
String s=new String("vijay"); | TCS | 11 |
| When we can access the static data member without creating
the object what is the need of the object in java.
| ssinformatics | 4 |
| is this possible to create an array of 0 length?
if so how? if not so why?
coz we have an array in main() likw this
"static void main(String [] s) then what it signifies? | Hexaware | 2 |
| What is the difference between a Window and a Frame? | | 1 |
| What is the return type of read()? | | 2 |
| what is the use of private constructor in core java? | Satyam | 3 |
| whats the life cycle of jsp
| Satyam | 10 |
| What is the method used to get the absolute value of a
number? | | 2 |
|
I have a sorting issue with a Hashmap. My constraint is that
I MUST use the Hashmap and work with existing code. I do a
database query and place the results in a Hashmap. When I
iterate thru the Hashmap, it loses the original alphabetical
sorting done by the database. So, my problem is that I must
sort the results coming out of the Hashmap which is then
placed into another class.
| | 1 |
| why marker interfaces are there in java | Digital-Group | 3 |
| |
| For more Core Java Interview Questions Click Here |