| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is an anonymous class? | TCS | 5 |
| Q1.A. Write note on “The class path Environment Variable”?
B. Which are different kinds of source code?
Q2.A. How to create an interface?
B. Why convert an applet to an application?
Q3.A. How to use Media tracker Class.
B. How to use string tokenizer class.
Q4 A. Explain the overview of UDP messaging.
B. Difference between SQL Exception class and SQL
Warning class.
Q5. A. How to create com object in Java?
B. Write short notes on “The properties class”
Q6. A. When object is created and destroyed?
B. Explain the JDB in depth & command line.
C. Write short notes on Web Sites.
| iGate | 2 |
| In what ways you can handle exception ? | | 3 |
| can any one tell me when do u go for inheritance and
polymorphism | | 1 |
| What are different types of access modifiers? | | 1 |
| What is the need of "creating and throwing an
UserdefinedException" when the "Exception" class is already
available? | | 4 |
| Name the class that used to read objects directly from a
stream? | Wipro | 2 |
| What is Locale class? | MySoft | 1 |
|
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 |
| Name two subclasses of the TextComponent class? | | 2 |
| Explain the difference between scrollbar and scrollpane? | | 1 |
| What is Connection pooling? Explain Pros and Cons? | | 1 |
| how to call a method in different package? | | 4 |
| What are the two major components of JDBC? | Mind-Tree | 4 |
| how u do unit testing? | iFlex | 2 |
| What are the advantages of the model over the event-
inheritance model? | | 1 |
| StringBuilder s = new StringBuilder("Hello
Mom");s.append(",I mean,Mother");
Response.Write(s.ToString());
String s = "Hello Mom";
s+ = ",I mean Mom";
Response.Write(s);
Which is faster ? which uses the most memory? | | 4 |
| What is Ideal Design of Class? | | 2 |
| What is Applet Flickering ? | Persistent | 1 |
| write a class to input 2 points by the user & check the line
maked by the points is horizontal,vertical or rectangle? | | 1 |
| |
| For more Core Java Interview Questions Click Here |