| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is the replacement for GOTO in java? | CTS | 2 |
| what is the difference between java and j2ee... is that can
i work j2ee on net beans IDE 6.0 | | 2 |
| What method is used to compare two strings ? | | 4 |
| Can a lock be acquired on a class? | | 2 |
| how cani read a command line argument?(usingfile object). | | 3 |
| Can we declare an anonymous class as both extending a class
and implementing an interface? | Wipro | 7 |
| How will you create the class for the following scenario?
Employees under one employee?
| Bally-Technologies | 2 |
| is there any function in java to make the text to blink? | | 5 |
| A abstract class extending an abstract class.Super class
has both abstract and non-abstract methods.How can we
implement abstract and non-abstract mehtods? Explain with
snippet | | 3 |
| Name the methods that used to get and set the text label
displayed by a Buttonobject? | | 1 |
| What is advantage of using threads? | BMC | 2 |
| what is Portal(web based online portal)? | AIG | 1 |
| How to find the size of an array
a)array.length()
b)array.length
c)array.size()
d)array.size | Accenture | 6 |
| What is left shift and right shift? | | 1 |
| Given:
1. package test;
2.
3. class Target {
4. public String name = “hello”;
5. }
What can directly access and change the value of the
variable name?
1 any class
2 only the Target class
3 any class in the test package
4 any class that extends Target
| | 3 |
| Can a double value be cast to a byte? | | 3 |
| How to override a equals() method and what is the use? | | 1 |
| How u dubugg ur project? | iFlex | 1 |
| Is it compulsory to have atleast one abstract method in
abstract class?
| | 7 |
| Can Applet have constructors? | | 3 |
| |
| For more Core Java Interview Questions Click Here |