core java tehnical interview question
67. Which class is extended by all other classes? The Object class is extended by all other classes. 68. Which […]
67. Which class is extended by all other classes? The Object class is extended by all other classes. 68. Which […]
73. What do you understand by private, protected and public? These are accessibility modifiers. Private is the most restrictive, while
67. Which class is extended by all other classes? The Object class is extended by all other classes. 68. Which
61. What value does read() return when it has reached the end of a file? The read() method returns -1
55. Why does Java not support operator overloading? Operator overloading makes the code very difficult to read and maintain. To
49. Why is an Interface be able to extend more than one Interface but a Class can’t extend more than
43. Can a abstract class be defined without any abstract methods? Yes it’s possible. This is basically to avoid instance
37. What is the importance of static variable? static variables are class level variables where all objects of the class
31. Can you give few examples of final classes defined in Java API? java.lang.String, java.lang.Math are final classes. 32. How
25. Can a class declared as private be accessed outside it’s package? Not possible. 26. Can a class be declared
19. Can a main() method be overloaded? Yes. You can have any number of main() methods with different method signature
13. What are instance variables? Instance variables are those which are defined at the class level. Instance variables need not
7. What is the base class of all classes? java.lang.Object 8. Does Java support multiple inheritance? Java doesn’t support multiple
What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by
1. A person crosses a 600 m long street in 5 minutes. What is his speed in km
7. What are the new features included in the Microsoft AJAX library? The Microsoft AJAX library is a client-based JavaScript
19. What is a runtime engine? A runtime engine of WF provides the basic functionality to execute and manage the
13. The XML elements cannot be empty. Is it true? No, it is not true. 14. Describe the role that
7. What are collections and generics? A collection can be defined as a group of related items that can be
13. State the differences between the Dispose() and Finalize(). CLR uses the Dispose and Finalize methods to perform garbage collection
61. When did the USSR formally disintegrates into 15 republics? A. 1991 B. 1992 C. 1993 D. 1994 Answer &
Directions to Solve Read the each sentence to find out whether there is any grammatical error in it. The error,
Directions to Solve Read the each sentence to find out whether there is any grammatical error in it. The error,
1. (solve as per the direction given above) A. We discussed about the problem so thoroughly B. on
Directions to Solve Read the each sentence to find out whether there is any grammatical error in it. The error,