Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Core Java Interview Questions
Questions Answers Views Company eMail

String is an immutable object. Then how can the following code be justified. String s1 = ?ABC?; String s1 = s1+?XYZ?; s.o.p(s1); The output is ABCXYZ, which is the value of s1 ?

Flextronics, Keane India Ltd,

6 13178

Instead of writing Home, Remote Interfaces if i directly extends EJBObject to bean class what happens?


1 3781

when we write class.forName("any one class"); what happens actually?what it will return?explain stepwise?

6 6373

explain System.out.println

Calpine Technologies, Care, Cognizant, CTS, IBM, IBS, LibSys, Oracle, Spiro Solutions, TCS,

107 158574

What is the use of Getters and Setters method ?

4 14281

What is hard code & soft code?

Cognizant, Wipro,

7 54189

jdbc drivers?


8 11499

Can we declare an anonymous class as both extending a class and implementing an interface?

College School Exams Tests, JVA, TCS, Wipro,

8 14074

what is difference Between Core Java and advance java

HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,

60 151886

how cani read a command line argument?(usingfile object).

3 4493

what is the use/perpose of having a method antive?

2 3611

when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).

3 4718

what is the difference between statis block and static variable

7 7677

Can we call the Thread.sleep in Synchyronozed block?

Logica CMG,

5 16224

how can we use the servlet as standalone apllication?should we need to extend any class?

Logica CMG,

2 5656

Post New Core Java Questions

Un-Answered Questions { Core Java }

What is the numeric promotion?


Can we force the garbage collection to run?


What is nested top-level class?


Can we write any code after throw statement?


What is use of static method?


Can a class be private?


Define jre i.e. Java runtime environment?


Can an interface have a class?


What is this keyword used for?


What java is used for?


What are the features of java?


What is string :: npos?


How does queue work in java?


What is finally and finalize in java?


How does singleton class work?