Follow Our FB Page << CircleMedia.in >> 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?

Flextronics,

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?

Wipro,

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?

190


Can we force the garbage collection to run?

227


What is nested top-level class?

215


Can we write any code after throw statement?

247


What is use of static method?

182






Can a class be private?

179


Define jre i.e. Java runtime environment?

206


Can an interface have a class?

202


What is this keyword used for?

189


What java is used for?

198


What are the features of java?

182


What is string :: npos?

186


How does queue work in java?

174


What is finally and finalize in java?

240


How does singleton class work?

164