Core Java Interview Questions
Questions Answers Views Company eMail

Which is the best way to use for String concatenation in Java?

HCL,

7 19971

In Serialization, whether you will use Static variables?

HCL,

3 8699

How do you relate a Interface to a Class? Tell me in Detail?

4 6833

Is java supports multiple inheritance? explain?

BUET, Inforica,

12 17048

which swing component is similar to rich text box in .net/vb

1 4319

Which One is optimal to choose ? Syncronized hash map or Hash table with single thread model? How can a hash map syncronized with out using syncrozed blocks in programm?

Four soft,

3 7952

int a=10,b=20,c=30 a= b+c;b=a+c;c=a+b; System.out.println("The value is"+a+b+c;

Honeywell,

17 26857

int a=1; float b=1.0; System.out.println(a==b);

CTS, Honeywell, McAfee,

13 26443

what is difference between abstraction and interface?

FIC,

8 10724

waht happens when a return type ,even void is specified for a constructor?

11 31858

Describe inheritance as applied to java?

4 10082

what is a package?

11 12129

what is a thread?

IBM, SunGard,

13 18304

class{ ... ... interface myinterface{ ... ... } abstract class{ .. .. } ... .. .. } is this possible to write "Interface and/ or Abstract class inside a class ? if possible whcich one is possible is only interface? is only abstract?

Logica CMG,

2 7368

class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); }

Logica CMG,

8 18353


Post New Core Java Questions

Un-Answered Questions { Core Java }

Say any two properties in beans?

631


How to read and write image from a file ?

549


What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?

586


What is character in data type?

544


How do you add an element to a hashset in java?

488






What is the finalize method do?

594


What is collection api?

603


What is return in java?

552


What is treemap in java?

550


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

580


Can we create object of static class?

525


Which collection does not allow duplicates in java?

463


When can an object reference be cast to an interface reference in java programming?

575


What is the primitive type byte?

573


Which is easier netbeans or eclipse?

606