| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How is Garbage collection done in Java? | T3-Softwares | 2 |
| Why are the methods of the Math class are static? | | 1 |
| suppose string s1="rajnish";
string s2="bhaskar";
then what will be happend ? | Fidelity | 6 |
| Can you call a constructor within a constructor? | | 6 |
| Which characters are allowed to use as the second character
of an identifier, and which characters are not allowed? | | 2 |
| Does any tag exists in HTML to upload and download files ? | | 2 |
| Can we add two byte variables and assign the result to a
byte variable ?
b=b1+b2 where b,b1,b2 are byte types | TCS | 3 |
| what is a package? | | 8 |
| What are Access Specifiers and Access Modifiers. | TCS | 4 |
| could you run the java program without main method? | | 1 |
| what is aberivation of java? | | 10 |
| how many types of cloning? | Mobily | 1 |
| long d =10;int i =0;i=d; /// is this possible? If d is very
long number (10 digits or some thing) then? | | 3 |
| What is the difference between panel and frame ? | IBM | 4 |
| What is meant by event handling in SAX parser? | Ness-Technologies | 1 |
| What is the difference between Integer and int? | | 4 |
| Explain final, finalize() and finally? | | 6 |
| 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 |
| which class to use when concatenating
strings in a loop. | IBM | 2 |
| What is the Vector class? | | 3 |
| |
| For more Core Java Interview Questions Click Here |