Dump all questions for selected technology

java interview questions - Page 1:

What are the properties of OOP?

What is the difference between Abstract class and Interface?

Are identifiers in Java case sensitive?

Which of the following are valid identifiers:
$foo
_bar
___foo__bar
__5_foo
foo#
5foo
-foo

Can a Java class name start with a small case letter?

What do you mean by final class in Java?

Can an abstract class have non-abstract methods?

Can an interface method be marked final?

Can private method be overridden by a subclass?

Can a protected member be accessed by a subclass in a different package?

Can a protected member be accessed by a non-subclass in the same package?

What happens when a method argument is marked final?

What are the different uses of keyword final in Java?

What is the difference between final, finally and finalize?

What do you mean by var-args? How is it implemented in Java?

Can you declare a method with more than one var-arg?

Can a constructor be marked private?

Can a constructor be marked abstract?

Can a constructor be marked static?

Can you access a static variable using object of the class?

PREV
1
2
3
4
5
NEXT