| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the difference between serialization and
deserialization? | ABC | 2 |
| Difference between JDK, JRE, JVM | Oracle | 5 |
| As a developer what steps do you take to improve the
performance? | | 3 |
| What are the latest versions in JAVA related areas? | Netcraft | 2 |
| Difference between overloading and Overriding. <Giving a
confusing example to test the concept.>
(also asked in PA Consultancy Group,iflex,Value
chain,IBM,CTS,Accenture, Tarang> | Symphony | 6 |
| In Inheritence concept, i have a static method in super
class and i am inheriting that class to one sub class.in
that case the static method is inherited to sub class or
not???? | Accenture | 8 |
| How can we find size of the object ? | RazorSight | 1 |
| Is &&= a valid Java operator? | | 2 |
| Difference between Web-based applications,Client-
Server applications and Distributed applications? | Infosys | 2 |
| Can we access private data outside of the class directly in
java programming language? Why There is no runtime checking
in java, which leads to access the private data directly
outside of a class? | Google | 2 |
| explain the clone method and clonable interface | | 1 |
| What is meant by class loader and how many types are there? | Apple | 1 |
| 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 method is used to compare two strings ? | | 4 |
| Which containers may have a MenuBar? | | 1 |
| what is request dispatcher and how does it work? | CTS | 1 |
| Q) I have a ArrayList object, in that object i have added 5
integer values, 5 float values, 5 string values. Now
question is how can delete particular type of data ( i.e all
int values or all float values or string values) in that
list object at a time? | Aricent | 2 |
| Given:
11. public static void main(String[] args) {
12. Integer i = uew Integer(1) + new Integer(2);
13. switch(i) {
14. case 3: System.out.println(”three”); break;
15. default: System.out.println(”other”); break;
16. }
17. }
‘What is the result?
1 three
2 other
3 An exception is thrown at runtime.
4 Compilation fails because of an error on
line 12.
| | 2 |
| How to prevent a field from serialization ? | | 2 |
| Name the package that always imported by default? | | 2 |
| |
| For more Core Java Interview Questions Click Here |