| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Can you call a private data from an inner class? | | 3 |
| What is a class ? | | 8 |
| Write a program to create a binary Tree ? | | 1 |
| What is Locale class? | MySoft | 1 |
| Can an abstract class be final? | | 6 |
| Difference between Reader/Writer and InputStream/Output
Stream? | Kirusa | 4 |
| can we create object for static class in java | Marlabs | 5 |
| what Data encapsulation in java? | | 4 |
| what are the methods of an object class? | | 3 |
| what do you meant by Platform-Independent? | Persistent | 4 |
| What is a method ? | | 4 |
| What is emant by API?
is it related to java only or it is common for all OOPS
supporting language? | | 2 |
| What are the operands of instanceof operator? | | 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 |
| What is Interface? | BMC | 5 |
| What for read() function? | | 3 |
| What is method Overloading in the perspective of OOPS? | | 4 |
| they asked class A{}
class B{}
class c{}
all the three class saved as a single file,there is no main
method in the file
and anothe class
M.java
class m
{
psvm(String args[])
{
// here the parent class can access
}
}
| DNS | 1 |
| primitive data types in Java ? | | 3 |
| Can a double value be cast to a byte? | | 3 |
| |
| For more Core Java Interview Questions Click Here |