| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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 |
| Does garbage collection guarantee that a program will not
run out of memory? | | 1 |
| What are access modifiers in Java ? | | 5 |
| what is ennumaration? | AMDOC | 1 |
| can u give one sinario when you use Abstract Class and When
you use Interface. | ITC-Infotech | 5 |
| How to add panel to a Frame? | | 2 |
| What is Distributed Application and what is its usage? | | 1 |
| explain the concept of inheritance with an example? | Polaris | 5 |
| what is an object and how do you allocate memory to it? | Wipro | 3 |
| Which characters are allowed to use as the second character
of an identifier, and which characters are not allowed? | | 2 |
| what is the output ? Math.floor(-2.1)
a)2
b)-2
c)-3.0
d)0 | Accenture | 2 |
| Can you declare a static variable in a method? | | 4 |
| who was the founder of java
| HCL | 8 |
| class A{
some variables;
public void a()throws Excepion1,Exception2{....}
}
class B extends A{
variables...
public void a()throws E2,E3{.....}
}
Qns:
here override of methods occurs or not,ore else wil give
any compilation error or run properly..plz tell me briefly
whts happening with the above codes.... | Quinnox | 3 |
| what is connection pooling with example? | AMDOC | 1 |
| what is the difference between statis block and static
variable | | 5 |
| What Method and class used for Connection pooling ? | Wipro | 4 |
| Name the method of a Container that can be used to cause a
container to be laid out and redisplayed? | | 1 |
| which method throws exception of type Throwable | | 2 |
| what is aberivation of java? | | 10 |
| |
| For more Core Java Interview Questions Click Here |