Core Java Interview Questions
Questions Answers Views Company eMail

My interview asked what is dynamic variable in java and where we use them.

IBM,

2 6416

"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.

2 6783

Can I create any Marker Interface? If yes then how can I use it???

4 10150

please send code example of inner classes?

2 4605

what is the use of clone method? why user cant overwrite in sub class without its proper defination.

TCS,

2 5351

what is object deep copy and shallow copy and why it is required?

2 8024

what is the use of Clonable,and serializable interface?

1 22317

Can an interface extands a class?

5 8288

Can i have abstract class with no abstract methods?

CTS,

22 42299

what are upcasting and downcasting?

5 16856

what is the diff b/w arraylist and vector?

Code Genesis, Genesis, Sprintine Labs,

6 9454

What is actual difference between statement,prepared statement and callable statement and when we have to use it? pls post a answer with code and clear explanation. thanks

2 13286

Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

1581

Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).

2212

can we access the super class method using subclass object?

4 6619


Post New Core Java Questions

Un-Answered Questions { Core Java }

What are keywords give examples?

556


What is the use of string and stringbuffer?

522


What is the file type?

534


What is numeric function?

517


Define jre i.e. Java runtime environment?

552






Is there any way to skip finally block of exception even if some exception occurs in the exception block?

572


What is the main function in java?

500


what is the purpose of the runtime class?

527


Why local variables are stored in stack?

472


give an example for encapsulation?

551


How many types of voids are there?

508


What does exclamation mean in java?

550


What are drawbacks of singleton class?

505


What is difference between arraylist and list in java?

562


What are implicit objects in java?

526