| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Hi,
This is ravi i have a question like this i have string
"UNDERSTAND" now i want to count the letters how many times
it occures.i.e from the above string the out put should be
like this U-1,N-2,D-2,E-1,R-1,S-1,T-1,A-1.
how can i achieve this
Thnaks in advance for your response .. | | 4 |
| int a=1;
float b=1.0;
System.out.println(a==b);
| Honeywell | 8 |
| what is j2se | | 3 |
| 1).what is the difference between below examples
String s="vijay";
String s=new String("vijay"); | TCS | 11 |
| What are the OOPS concepts in Java ? | Satyam | 3 |
| Can you call a private data from an inner class? | | 3 |
| What is the difference between getCodeBase and
getDocumentBase methods? | | 1 |
| How does a try statement determine which catch clause
should be used to handle an exception? | | 2 |
| What modifiers are used with a top level class? | | 2 |
| What enableEvents() method do? | | 1 |
| What is a stream? what are the different types and classes
of Streams? | | 2 |
| Why Java is not purely object oriented? | Persistent | 21 |
| What method is used to compare two strings ? | | 4 |
| Hi buddy, well i got that there is always a default
constructor with abstract class. OK. But why not with interface?
Thanks in advance. | | 2 |
| byte a=5;
byte b=5;
byte c=a+b;
System.out.println(c);
whats the o/p? | Wipro | 5 |
| Program to output as below formate:
1
2 3
4 5 6
7 8 9 10 | Huawei | 2 |
| What is static binding and where it occurs? | | 2 |
| what is overloading and overriding with example? | CMC | 1 |
| How to transfer data from an Applet to Servlet ? | | 1 |
| what is difference between Action messages and Action errors? | TCS | 1 |
| |
| For more Core Java Interview Questions Click Here |