Core Java Interview Questions
Questions Answers Views Company eMail

what is for datainputstream?

1 2852

What is the use of static keyword in "public static void main()"

College School Exams Tests, Infosys, Six Dee Telecom,

10 9748

what is mena by object block any what is the use of that

CGI,

1745

can any body tell me? does advance java and j2ee both are same.

CTS, Infosys,

4 8919

does core java and j2se both are same?

5 13034

what is difference between signed & unsigned char?

2 3966

What is the blank final variable?

3 5224

difference throws and throw in java

3 4101

What is “try and catch” in java

2 3786

Integer.parse Int(bf.readLine(System.out.println("enter value for n["+m+"]:"))); can it run under this

1 2297

what is mean by ooad? where we are using? can you tell me any real time example?

Eka Software,

1 3087

What is mean by UML? what is the use? where we are using?

Eka Software,

1 3663

Any one can explain how the inerface uses in java. give with example.

IBM,

1 2147

interface X{ void m1(); void m2(); } class Child2 extends Object implements X { public void m1(){ System.out.println("Child2 M1"); } public void m2(){ System.out.println("Child2 M2"); } } public class ParentChildInfterfaceDemo { public static void main(String[] args){ X x = new Child2(); X x1 = new Child2(); x.m1(); x.m2(); x.equals(x1); } } Will the above code work? If yes? Can you please explain why the code x.equals(x1) will work as the equals method is called on interface reference vaiable?

2 4814

how can you say that java is independ language

TCS, Wipro,

2 4526


Post New Core Java Questions

Un-Answered Questions { Core Java }

Why do we use return statement?

519


Explain the use of javap tool.

608


List down the methods and interfaces of collection class in java.

514


How do you know if a value is nan?

548


Give a practical example of singleton class usage?

558






What is difference between wait and notify in java?

524


Is it possible to override the main method?

508


What is the access scope of a protected method?

537


What does system.gc() and runtime.gc() methods do?

578


Is java platform independent?

549


How do you implement polymorphism in our day to day life?

2741


State the main difference between c++ and java?

562


What is static synchronization?

548


Which class should you use to obtain design information about an object in java programming?

621


How do you reverse sort a list in java?

481