Core Java Interview Questions
Questions Answers Views Company eMail

public class Test { public static void main(String ar[]) { Integer a = 10; Integer b =10; Integer c = 145; Integer d = 145; System.out.println(a==b); System.out.println(c==d); } }

iGate,

7 10840

How to prevent to create multiple objects of a java class?

ASD Lab, TCS,

3 7728

What is OOPS Concept?

Cap Gemini,

1 4172

What is access modifiers?

Cap Gemini,

1 3477

Explain JSP life cycle

Cap Gemini,

1 3171

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

Cap Gemini,

2753

What is design pattern and there types?

Cap Gemini,

2 5414

What is aggregation?

Cap Gemini,

1 3182

solve this is my problem byte a=40,byte b=50 both add value is 90 this is with in range of byte... byte range is -128to 127.... why this pgm gives error like type mismatch.... package javapgms; public class byte1 { public static void main(String args[]) { byte a=40,b=50; byte c=a+b; System.out.println(c); } } note : dont use int k... a,b,c are in byte range... mind it..

2 5300

Why Static variable required in java?For ex,class A { static int a; int b; } Why static is required?

Ericsson,

5 7134

Why method overloading and method overriding required in java?

Ericsson, Wipro,

1 4234

In collection sorting comparable and comparator interface will be used..but why this two interfaces required..two will work same purpose so why there are two interfaces instead of one?when to use comparator and when to use comparable?

Ericsson,

1 4156

What is OOPs & Why?

3 3995

String is mutable or immutable?

3 5687

INTERVIEW QUESTION FOR ANDROID

1619


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is the Scope of Static Variable?

718


What is a newline character in java?

551


What is the collection interface?

575


What are register variables what are the advantages?

441


What are implicit objects in java?

539






What are the classes of java?

529


What is the declaration statement?

496


What is difference between an object and a class?

594


Write a program in java to find the maximum and minimum value node from a circular linked list.

504


What is Gang of four design patterns

580


Explain about static imports in java?

582


How do you compare values in java?

531


What are the types of web technologies?

511


How does queue work in java?

518


What is a static method in java?

524