Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML
 
 
Hot Web Programming Job

 

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials

Core Java
JSP
Servlet
JDBC
Hibernate
Struts 1
Struts 2
JSF
Spring
J2EE
J2ME
Web Services
Ajax
Dojo
MySQL
Latest Comments
Null pointer excep
swap program faile
hi.........
very good
navigaton mobile
  All Comments...
 

 

 
Struts Tutorials
*Stuts TOC
*Apache Struts Introduction
* Struts Controller
* Struts Action Class
* Struts ActionFrom Class
* Using Struts HTML Tags
*Struts Validator Framework    
*Client Side Address Validation    
*Struts Tiles
*tiles-defs.xml
*Struts DynaActionForm
*Struts File Upload
*Struts DataSource
*AGGREGATING ACTIONS
*Internationalization
Struts Resources
*Struts Books
*Struts Articles
*Struts Frameworks
*Struts IDE
*Struts Alternative
*Struts Links
*Struts Presentations
*Struts Projects
*Struts Software
*Struts Reference
*Struts Resources
*Other Struts Tutorial
Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Have tutorials?
Add your tutorial to our Java Resource and get tons of hits.

We offer free hosting for your tutorials. and exposure for thousands of readers. drop a mail
roseindia_net@yahoo.com
 
   

 
Join For Newsletter

Powered by groups.yahoo.com
Visit Group! Post Questions!

Interviewquestions Corejava

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

350 comments so far (post your own) View All Comments Latest 10 Comments:

thid web site is ver helpful for interview preparation.

Posted by Remu on Friday, 07.10.09 @ 19:33pm | #89226

this is nice approch
questions are good

Posted by krishna on Thursday, 01.29.09 @ 23:24pm | #84304

Hi sir,

I Need Core Java Materials.......... Pls Send Me, Interviewquestions Corejava

regard's
jo$

Posted by joseph naidu on Thursday, 12.4.08 @ 22:44pm | #82411

send me the java debugging qusetions

Posted by sundar on Saturday, 10.11.08 @ 11:24am | #81008

thread

Posted by DURAIPANDI on Monday, 09.29.08 @ 10:43am | #80762

CAN YOU SEND ME TO EXAMPLES OF OVERRIDING,OVERLOADDING

Posted by DURAIPANDI on Monday, 09.29.08 @ 10:36am | #80761

Function is not written like this:

public myFunction (){

Chandan

Posted by Chandan Kumar Verma on Thursday, 09.18.08 @ 11:52am | #80266

excellent stuff to understand more clearly

Posted by Prasad Dasari on Tuesday, 09.9.08 @ 16:33pm | #78281

hi frndz,i'm quite impressed with the above questions but i still need some more questions based on it.can anyone tell me what kind of questions will be asked in infotech enterprise,hyderabad?....bcoz my final round is yet to happen.

Posted by anirudh on Monday, 08.25.08 @ 13:40pm | #74994

Hi,

The material is very good. but i request u to please upgrade it. like JDBC is still2.0.
But now 4 is coming.

Posted by usha on Wednesday, 08.13.08 @ 01:08am | #72548

i want to be strong in java

Posted by sunita choudhary on Wednesday, 08.6.08 @ 20:29pm | #71360

hi, send me notes aobout struts with some examples. I dont know anything abt strutsst

Posted by vandana soni on Friday, 08.1.08 @ 23:03pm | #70370

can u plzz send me the tricky questions ,that can be asked in java interview?

Thanking in anticipation....

Posted by Ashish on Friday, 06.13.08 @ 02:17am | #63141

PLZ send me the All quation

Posted by neeraj on Tuesday, 06.3.08 @ 18:47pm | #61966

i neet java & j2ee materials

Posted by subha on Monday, 06.2.08 @ 14:01pm | #61801

hi

dis is madhuri. can u send me d core java, advanced java, j2ee and jsp questions with answers.

Posted by madhuri on Friday, 05.23.08 @ 18:26pm | #60763

please send me the objective questions of java/j2ee is urgent

Posted by gopi on Wednesday, 05.14.08 @ 10:53am | #59769

I Know some basics in script,but i don't know how to write the programm. so lz send script programms.

Posted by Jameer on Wednesday, 05.7.08 @ 13:07pm | #58784

i like java i want to study java so plse send me some notes about core java and some programes to it

Posted by prasanth on Tuesday, 05.6.08 @ 12:51pm | #58613

Send me objective question and answer related tocorejava

Posted by AbhishekKumar Agnihotri on Tuesday, 05.6.08 @ 10:44am | #58606

hi,
please send me an example of abstaction (rather than color eg)with code?i faced this question ..
thanks
suria

Posted by suria on Monday, 05.5.08 @ 11:46am | #58520

send me some interview questions on core java

Posted by lalit sharma on Friday, 04.25.08 @ 13:03pm | #57842

send me some interview questions on core java

Posted by kumar on Thursday, 04.24.08 @ 02:54am | #57735

please send me java interview questions answers

Posted by kishan on Tuesday, 03.18.08 @ 19:12pm | #53206

please send me java and j2ee and jsp questions and answers

Posted by kishan on Tuesday, 03.18.08 @ 19:03pm | #53205

hi,
i am srinivas i need code based objective type questions with answers

Posted by srinu cse on Friday, 02.29.08 @ 01:02am | #50622

sir i am final year mca student doing project in six sem and then i learn java,j2EE in niit bangalore any job oppening please inform me ,i read the your question&anser it is very help thank you sir

Posted by manikandan on Monday, 02.25.08 @ 11:45am | #49925

Hi im doing course on java but im not perfect at writting programs pls send me some examples of every topic

Posted by A.Madhurima on Saturday, 02.23.08 @ 19:11pm | #49671

hello sir/mam,
i want u to send me the solved question papers for codes of programming in java...

Posted by samvedna on Thursday, 02.21.08 @ 15:09pm | #49306

what is use of the threads ,i need some exmaples in real time applications

Posted by subramanyam on Thursday, 02.21.08 @ 14:35pm | #49303

send me some more questions and answer to my reference

Posted by partheeban.k on Wednesday, 02.20.08 @ 17:40pm | #49214

Can u plz send me interview questions of core
java

Posted by ashutosh on Tuesday, 02.19.08 @ 23:03pm | #49117




i am learning java,can u plz post me inerview questions regarding core java, adv java and struts.

Posted by JyotshnaDevi on Monday, 02.18.08 @ 11:09am | #48870

hi,
i am learning java,can u plz post me inerview questions regarding core java,struts.thanks for the site

Posted by rajesh on Monday, 02.11.08 @ 08:24am | #47861

hi,can u send me some importent programs and FAQ's in core java and advanced.

Posted by anusha on Saturday, 02.9.08 @ 01:24am | #47642

Hello sir/mam,

I need one good book for sun Certified web component certification, what are all websites can help for this certification exam
please reply me.

Thankyou

swarnalatha

Posted by swarnalatha on Wednesday, 02.6.08 @ 07:32am | #47361

i am doin g core jav , will u plz forward me the questions asked in exam (objective questions only)

Posted by mandar on Saturday, 02.2.08 @ 09:26am | #46941

Hi,
really the information provided by this website is valuable and helpful to understand the concepts

Posted by Vikas Kumar on Friday, 01.25.08 @ 15:57pm | #46128

please send me the FAQ in java interviews

Posted by kusuma on Thursday, 01.24.08 @ 11:41am | #45986

Dear Sir,
Please send interview based questions and small programs for my reference.

Posted by S.Thirumurugan on Wednesday, 01.23.08 @ 15:07pm | #45887

what the actual difference between system.out.print() and system.out.println?And give one example?

Posted by vijaya on Saturday, 01.19.08 @ 18:22pm | #45595

i want multiple choice questions for scjp entrance test and also answers

Posted by naveen on Friday, 01.18.08 @ 14:38pm | #45511

What we will call button in java?

Posted by Arun jamne on Wednesday, 01.16.08 @ 17:05pm | #45356

sir
i am learner in java & j2ee so pls send me d questions and guide me

Posted by rajavel on Wednesday, 01.16.08 @ 15:18pm | #45346

Dear sir,
I want some good question that will help me in oracle interview.

Posted by Prahlad Kumar on Sunday, 01.13.08 @ 15:14pm | #45108

Sir, I am fresh for JAVA, Kindly intimate me the easy way to learn the JAVA and core JAVA

Posted by akshya kumar samal on Monday, 01.7.08 @ 10:45am | #44686

in this site good questions are given on core java,thanks for the entire team which assembled these questions,please send me some questions on
methods

Posted by srikanth on Saturday, 01.5.08 @ 12:44pm | #44558

Respected SIR/Madam,

I am Fresher in JAVA.Please send me about CORE JAVA and ADVANCED JAVA questions with answers.
Thanking you

Your's
SRI

Posted by srikanth on Friday, 01.4.08 @ 15:54pm | #44505

helo,iam fresher i wnat the quetions with answers on basics java concepts that is core java

Posted by sradha kalyani on Tuesday, 01.1.08 @ 15:36pm | #44321

your collestion is good, but u need to add more questions based on advance java & creat a link to find it quickly.

Posted by Kaushlendra on Saturday, 12.29.07 @ 23:32pm | #44160

interview questions

Posted by krishna on Saturday, 12.29.07 @ 19:34pm | #44144

hai sir plz send important programs about servlets

Posted by k.sivareddy on Saturday, 12.29.07 @ 12:04pm | #44120

can u send briefly about design pattern which r using in real time environment

Posted by rajendra on Monday, 12.24.07 @ 14:00pm | #43564

hello,

pls send me to java Faq's and servlet ,jsp,struts faq's and books

Thanking you,

Posted by Rajasathaysekhar on Sunday, 12.23.07 @ 13:27pm | #43464

Respected sir/madam,
i want to learn about coreJava. i m a new reader of Java.Can u send me some basics of Java...really this website useful for us........
Thank u

Posted by ramya on Sunday, 12.23.07 @ 11:41am | #43456

Sir/Madam,
I am a learner of J2EE basically on JSP & Struts framework.So I need your guide thoroughly.
Please help me by providing materials & good example.

Posted by Subhradeep Das on Wednesday, 12.19.07 @ 11:13am | #42929

this is greate combination of all those meterials special for new learner whose is as a new in java concept.

Posted by nitin kumar on Tuesday, 12.18.07 @ 17:06pm | #42833

how to create jsp in servlet.

I know to accomplish this we need to extends our servlet with JspBasePage class but now sure completly.

Posted by Ajay Rathor on Monday, 12.17.07 @ 12:33pm | #42692

Dear sir,
pls send me some strutus question

Thanks & regards
vijay

Posted by Vijay Pal Singh on Monday, 12.17.07 @ 11:11am | #42685

very good in reading these concepts but i need some FAQ's in interviews....

Posted by Kishore Kumar on Sunday, 12.16.07 @ 21:53pm | #42630

pls send all core java related question

Posted by dileep kumar mishra on Wednesday, 12.12.07 @ 16:08pm | #41943

Dear sir

I have seen your postings and questions ,they are really very benificial for freshers.also please send some of the question regarding the programming concept.


Regards
vivek pandey

Posted by vivek pandey on Saturday, 12.8.07 @ 11:13am | #41580

please send a perfect link for java FAQs with ans.

Posted by ravikumar on Wednesday, 12.5.07 @ 11:05am | #41333

hi,
i am a new reader of java,so please guide me to aquire some knowledge on java...........................

Posted by jagadish on Wednesday, 11.28.07 @ 16:31pm | #40825

I wantjava faqs on corejava and j2ee.plz send to my Email jagadeshnaidu@yahoo.co.in

Posted by jagadesh on Wednesday, 11.21.07 @ 19:28pm | #38193

please send me technical interview ques (java,j2ee,struts,Hibernate) to my mail id

Posted by ramu on Saturday, 11.17.07 @ 15:43pm | #37621

Dear sir,

I am satisfied by reading these questions and ans .Please send me the latest interview questions in daily basis

Posted by Aswini Kmar Khadanga on Wednesday, 11.14.07 @ 23:18pm | #37419

hi...
can u send the faqs with answers......
i need it urgent ....
thanks
rex

Posted by rex on Wednesday, 11.14.07 @ 10:24am | #37353

Dear Sir / Mam,

Pls send daily mails about java /J2ee important interview questions to me. I am searching job in this department. I am fresher. Pls. help me

Posted by Revathi on Monday, 11.12.07 @ 15:18pm | #36964

Good set of interview q's. Really thought provoking q's. having more such q's would be appreciated.

Posted by Roorkie on Wednesday, 11.7.07 @ 13:04pm | #36250

Hello,
I read many of the questions I liked those very much. I am new student of java plz guide me.

Posted by Vishal on Friday, 10.19.07 @ 20:19pm | #34406

please send me leates java interview questions to my mail-id.

Posted by mathavan on Wednesday, 10.17.07 @ 15:39pm | #34272

Hi
This is deepak plz send me basic core java interview question.

Posted by Deepak Malik on Wednesday, 10.17.07 @ 15:08pm | #34269

hi sir,
i have read ur questions.its fine i want to
java faqs on corejava and j2ee.plz send to me

Posted by m.sreedhar on Monday, 10.15.07 @ 21:13pm | #33870

The questions are really helpful. Please send me more questions.
Arindam

Posted by Arindam Mukherjee on Wednesday, 10.10.07 @ 20:07pm | #33016

dear sir please give me some important points which
i must be discuss in my seminar within core java.

Posted by Ashish on Sunday, 09.30.07 @ 01:46am | #30492

i want debbuging questions for java interview and practise.please give me some interview questions...

Posted by vikas on Saturday, 09.29.07 @ 07:21am | #30459

PLEASE SEND ME DAILY LATEST QUESTION ON JAVA/J2EE/JSP,DHTML.

WARM REGARDS
DHARMENDRA JAIN

Posted by dharmendra jain on Friday, 09.28.07 @ 08:03am | #30113

sir
please send me technical interview ques to my mail id

Posted by vikas shirsath on Thursday, 09.27.07 @ 18:40pm | #30085

Hello sir,
PLease send some important questions on JDBC.As I am preparing INterview

Posted by fahmi aijaz on Thursday, 09.27.07 @ 12:31pm | #30069

please send me latest interview questions to my mail-id.

Posted by madhu on Thursday, 09.27.07 @ 11:09am | #30062


i want latest java/j2ee interview qwestions.
pls send to my mail-id

Posted by Jyotshna on Wednesday, 09.26.07 @ 17:31pm | #29717

Hello sir.

please send me leates interview qwestions to my mail-id.

Regards,
Vikas

Posted by Vikas.s on Wednesday, 09.19.07 @ 16:30pm | #27849

i need java and j2ee interview questions to my mail.my mail is enetered already.so please send it

Posted by M.Maghizmannan on Wednesday, 09.19.07 @ 10:16am | #27821

Awesome Tutorial

Posted by amit kumar singh on Wednesday, 09.19.07 @ 00:43am | #27804

Hello sir,
I am working in java/j2me technology i am visiting your site daily please send me latest interview question and answer in my mail id sir.

with Thanks and regards,

manish bansal

Posted by manish bansal on Sunday, 09.16.07 @ 13:05pm | #27061

hi,
i want latest interview qwestions.
pls send to my mail-id

Posted by mohan on Wednesday, 09.12.07 @ 11:21am | #26820

Hello sir,
I am working in java/j2ee technology i am visiting your site daily please send me latest interview question and answer in my mail id sir.

with Thanks and regards,


your's Madhu

Posted by madhu sudhana on Tuesday, 09.11.07 @ 16:49pm | #26756

Hello sir,
I am working in java/j2ee technology i am visiting your site daily please send me latest interview question and answer in my mail id sir.

with Thanks and regards,

S.Saravanan

Posted by Saravanan on Tuesday, 09.11.07 @ 11:06am | #26722

Hello sir,
I am working in java/j2ee technology i am visiting your site daily please send me latest interview question and answer in my mail id as well as i want to basic difference between final,finalize and finally with some small code snippet.


Thank you

Posted by virendra on Monday, 09.10.07 @ 16:44pm | #26587

Hello sir,
I am working in java/j2ee technology i am visiting your site daily please send me latest interview question and answer in my mail id.


Thank you

Posted by virendra on Monday, 09.10.07 @ 16:42pm | #26586

Dear sir
i am shailendra jain.i have completed in B.E in 2007 in industrial & production branch.so i am preparing in interviewbecause i am seaching the job.

Posted by shailendra jain on Friday, 09.7.07 @ 23:08pm | #26336

Sir..,
I am regulary visit ur website..it is very usefull for me. now i am working in java/j2ee.
i want the clear example about finalize().
Thanks & regards
Manigandan G

Posted by Manigandan on Friday, 09.7.07 @ 17:23pm | #26313

Please send me the java/j2ee interview questions

Posted by shelton on Thursday, 09.6.07 @ 17:54pm | #25292

hi,
Its very glad to know more about java interview question if it can be more understandable & to know how to implement each & every topic i.e how this different class & finction can used in programming(for ex. polimorphism, inheritance, encapsilation).

Posted by akash patil on Monday, 09.3.07 @ 19:26pm | #24913

I am persuing MCA.i am learning Java pls send me core java related information and latest interview questions

Posted by mukesh on Friday, 08.31.07 @ 21:48pm | #24641

Dear sir
Iam learning java pls send me core java information and interview questions

Posted by venkates on Monday, 08.27.07 @ 17:04pm | #24252

Pla send me a lots of interview question bcz i m working as a trainee in soft com. but i want to boost my knowledge for MNC,s , i wait ur site response

Posted by zubair on Monday, 08.27.07 @ 12:15pm | #24237

Dear sir,

I am working as a Trainee in a Software company.I am visiting your website regularly and also i have been impressed by that site.So i want Java and J2EE Tutorials to improve my knowledge in the trinee periods.i hope that it will help when i take a complete project.

by Regards,
M.SATHEESH KUMAR

Posted by Satheesh kumar M on Friday, 08.24.07 @ 11:08am | #24024

Please send me the java interview questions.

Posted by prakashailu on Thursday, 08.23.07 @ 10:35am | #23952

please send me on my mail"devmits2002@gmail.com

Posted by Dushyant on Thursday, 08.23.07 @ 00:06am | #23931

Sir Pls send ur interview question to ezhilvannan_88@yahoo.co.in or kams2676@rediffmail.com

thank u and waiting for ur mail

Posted by raja on Tuesday, 08.21.07 @ 13:37pm | #23832

Sir Pls send ur interview question to ezhilvannan_88@yahoo.co.in or kams2676@rediffmail.com

thank u and waiting for ur mail

Posted by raja on Tuesday, 08.21.07 @ 13:16pm | #23830

please send me java program to display stars in an equilateral triangle form.

Posted by narayana on Sunday, 08.19.07 @ 02:36am | #23690

just send me the queostions mainly on core java

Posted by sai on Saturday, 08.18.07 @ 22:11pm | #23684

iam learning java pls send me core java information and interview questions

Posted by rambabu on Friday, 08.17.07 @ 17:11pm | #23603

Dear Sir,

Please send me the java interview questions.

Posted by prasanna on Friday, 08.17.07 @ 11:45am | #23569

Dear Sir,

Please send me the java interview questions.

Posted by prasanna on Friday, 08.17.07 @ 11:31am | #23567

pls sent java interview question

Posted by ganesh on Monday, 08.13.07 @ 14:41pm | #23281

could have been better, if few topics were briefly described.

Posted by asdff on Sunday, 08.12.07 @ 18:11pm | #23226

how to write core java prog

Posted by subhra mukherjee on Friday, 08.10.07 @ 16:39pm | #23106

hai sir,
i am doing MCA...i want to be a good java programmer...plz send me the sufficient details on my id.

Posted by venkatarao on Friday, 08.10.07 @ 15:41pm | #23100

please send me some useful information about Tibco software

Posted by Mujubur Rahman on Tuesday, 08.7.07 @ 11:38am | #22836

Can you suggest me to do Tibco courses in Chennai and some authour book for Tibco software
and send all the questions and answers for Tibco for my mail id.

Posted by Mujubur Rahman on Tuesday, 08.7.07 @ 11:36am | #22835

Sir,i have done the mca as well as adv. java course and searching the job.I want all the java questions that are commonly asked in interview,so pls send me the same.
Thanks,
pravin

Posted by pravin on Monday, 08.6.07 @ 11:00am | #22739

sir

i want thread question.


ok thanks

Posted by vishal patel on Thursday, 08.2.07 @ 11:46am | #22471

sir i want to become a s/w developer plz send me all java question and their ans

thanking u

Posted by rachana on Wednesday, 08.1.07 @ 14:26pm | #22423

sir i want to become a s/w developer plz send me all java question and their ans

thanking u

Posted by rachana on Wednesday, 08.1.07 @ 14:25pm | #22422

can some one please give more information on threads & Garbage Collection.

Posted by Srinivasa Karpe on Tuesday, 07.31.07 @ 19:06pm | #22326

Hi sir,
i harikrishna resident of warangal . please send me java material to my mail such that i can develop my knowledge in java

Thanking you,

Posted by GADE. HARIKRISHNA on Tuesday, 07.31.07 @ 13:35pm | #22290

i m doing MCA...i want to be a good java programmer...plz send me the sufficient details on my id

Posted by meenakshi on Tuesday, 07.31.07 @ 12:46pm | #22287

java questions
importent interview qustions
bye

Posted by vijay on Monday, 07.30.07 @ 14:43pm | #22212

please sand good questions about java.

Posted by L.vijay kumar on Saturday, 07.28.07 @ 14:40pm | #22104

hello
i have gone thru ur questions , i have lit bit idea abt all of them
i want to go training in java/j2ee,does it takes more time to start from beginning (base)
give a reply to my mail id
thanks

Posted by naveen kumar on Thursday, 07.26.07 @ 14:22pm | #21983

Hi
I am working in Java/J2EE technology since last 2.5 years but can't get the environment in that one should help others to teach.So I have got all the knowledge myself.But right now I want to switch for big company but whenever I give interview in big company,I found that I don't have answers of their questions.
Please provide me material of core java interview questions with answer on my mail.
Thanks
Surendra

Posted by Surendra Kumar on Thursday, 07.26.07 @ 12:11pm | #21974

Dear sir ,
Pl. send me important question in my ID related to all topics of java so that I can become a Java Professional.

Thanking You.

Posted by Faizur on Wednesday, 07.25.07 @ 21:26pm | #21937

Hello sir
i am studying in comp.engineer.i want to become a java prog. so pls sir send me all the details
abt java on my mail regularly.

Posted by Maitrey patel on Tuesday, 07.24.07 @ 19:04pm | #21842

Respected sir,
I want to become a javaprogrammer.Iam requesting u to give ur valuable guidance and java interview question in every area and send related material to my mail ID.please sir.
thanking you


Posted by shefali on Tuesday, 07.24.07 @ 18:22pm | #21840

Dear Sir,
I have joined a company Databorough India Private Ltd. recently as a Java developer in Lucknow.
I am the trainee over here for 6 months.Please provide me the Java Contents and Study material and guide me that should i join any course so that i can get command on java Because i will have to go through all the things myself.No one is Trainer over here.
So please help and guide me how can i get command on java myself.

Note-I will have to work over here on Eclipse Platform.

Regards
Akash Srivastava

Posted by Akash Srivastava on Tuesday, 07.24.07 @ 12:51pm | #21823

I want to become a good programmer in java.
so please guide me to become a perfect programmer in java by posing some questions on JAVA.

Posted by AnjiReddy Tangirala on Monday, 07.23.07 @ 21:46pm | #21791

Dear Sir/madam,
Thanks for providing sach a usefill things.

Posted by Jitendra Dixit on Saturday, 07.21.07 @ 18:42pm | #21697

it is a very good excercise for fresher who are preparing for sun exam .

Posted by Ashish Vijjayvargiya on Friday, 07.20.07 @ 21:26pm | #21656

Respected sir,
I want to become a javaprogrammer.Iam requesting u to give ur valuable guidance and java interview question in every area and send related material to my mail ID.please sir.
Thanking you

Posted by Raga Deepthi on Friday, 07.20.07 @ 19:51pm | #21652

These all are the filtered questions on core java ,it is very helpfull.But what i personally thinks if you add more questions in this then it will more benefitial for the readers........

Thank you very much

Posted by Atul on Friday, 07.20.07 @ 11:22am | #21614

Hai.. Sir Iam Praveen kumar ur java questions are very interseting and very usefull for me because i want become a very good programmer in java, and also ur questions are very usefull in interview also so please give me guaidance in java to get a job on java. so please send me ur valuable material and suggitions to my mail ID i.e "reddy_527@yahoo.co.in"

Posted by Y.Praveen Kumar on Tuesday, 07.17.07 @ 14:45pm | #21431

Dear Sir,
my name is venkat, im looking for a Software job in java/j2ee platform.Plz,send me related material regarding hte Interview Questions & answers on core java ,Servlets,JSP,JDBC.

Posted by VenkatVijay on Tuesday, 07.17.07 @ 12:17pm | #21425

it is very useful for me.
thanks for u r site

Posted by sridhar on Tuesday, 07.17.07 @ 00:04am | #21400

Respected Sir,
Pl Send me importent Interview Quetions related to Java programming Language.
If any importent Notes also available near you then it will also send me sir.
Thank you

Posted by Vikas Kothale on Sunday, 07.15.07 @ 23:33pm | #21346

Respected sir,
I am hema intrested in java programming.I request u give me ur valuable guaidance and java interview question and send related material to my mail ID.
thanking you

Posted by Hemalatha on Sunday, 07.15.07 @ 12:43pm | #21326

Respected sir,
I want to become a javaprogrammer.Iam requesting u to give ur valuable guidance and java interview question in every area and send related material to my mail ID.please sir.
thanking you

Posted by Hemalatha on Saturday, 07.14.07 @ 15:04pm | #21275

Hello Sir/Mam
i want to become a java programmer,and material provided by you is very important for interview pupose.please send some more question on my id.
your regards,
Vivek Harinkhere

Posted by Vivek Harinkhere on Tuesday, 07.10.07 @ 15:34pm | #21026

hello sir/madam,

The question you have provided are really helpful and have lots of information

Regards
Ashish Thakur

Posted by Ashish Thakur on Friday, 07.6.07 @ 17:58pm | #20841

hello sir/mam
I am happy with the things you have provided but i want some more so please send it to me

thanking you
sangram shinde

Posted by sangram on Wednesday, 07.4.07 @ 14:32pm | #20716

i am srikanth i want a advance java &sql good quesation & answare more please sir

Posted by D Srikanth Reddy on Wednesday, 07.4.07 @ 13:05pm | #20712

hi
i am krishna looking for software job i want know about the core java interview questions and answers sir please can u send regarding interview Q & A

Thanking u

Posted by krishna on Friday, 06.29.07 @ 16:28pm | #20379

Respected sir,
my name is suraj trying to make a java programmer.I request u give me ur valuable guaidance and java interview question and send related material to my mail ID.
thanking you

Posted by suraj on Thursday, 06.28.07 @ 18:28pm | #20332

Thanks to u people that u r really helpful to get knowledge about the interview questions related to java keep giving updated knowlegde about the same
thanks

Posted by Bhakti on Monday, 06.25.07 @ 17:50pm | #20157

this very good site for the java bigner.

Posted by O P PAL on Monday, 06.25.07 @ 14:22pm | #20145

HI,
I know the core java lightly,i need good book for core java please give me the details.
regarding interview questions helping me a lot.
so,please suggest me the good book for corejava

Posted by srinu on Friday, 06.22.07 @ 18:38pm | #19971

For forced garbage collection we can also do:
System.gc();

Posted by vipin on Thursday, 06.14.07 @ 13:26pm | #19192

Garbage collection is automatic as well as it can be forced.
Suppose in your application you want to collect garbage before the collector do it periodically which you may require, then the procedure is this.

Runtime runtime = Runtime.getRuntime();
runtime.gc();

This will force the collector to collect garbage.
runtime is a instance of the current RunTime.

So please check your answer ...Thanks Vipin

Posted by vipin on Thursday, 06.14.07 @ 13:25pm | #19191

Questions are very good and answers are also very good easy to understand.
But number of question are not sufficient.
Should number of questions.

Posted by Balmukund on Thursday, 06.14.07 @ 10:50am | #19175

could u explain wrapper classes in detail?
at which situations can we use ?

Posted by siva on Tuesday, 06.12.07 @ 13:28pm | #18981

i m harsha i have just started java classess in niit can u plzzzz send informations related to core java and advance java so that it becomes easy for me to understand the concepts of java and somes examples of easy coding for frames and others programs plzz help me i 'll b thankful to u if u can help me in java language
thank you

Posted by harsha on Sunday, 06.10.07 @ 20:19pm | #18825

i am chanchal arora.i want to become a Java progarmmer.i am learing java.
Please send the interview questions on Java.and any material related to Java to my mail id.


Posted by chanchal on Thursday, 06.7.07 @ 12:55pm | #18479

re/sir

myself is dinesh kumar, I want to know that how can run java programming in lynux operating system.

thanking you

Posted by DINESH KUMAR on Tuesday, 06.5.07 @ 23:18pm | #18310

Dear sir,

i am praveen kumar pogu.i want to become a Java progarmmer.i am learing java.
Please send the interview questions on Java.and any material related to Java to my mail id.

Thank you sir,

Posted by praveen kumar on Tuesday, 06.5.07 @ 16:25pm | #18279

Excellect Interview Questions.

Posted by Ramashankar Tiwari on Tuesday, 06.5.07 @ 13:46pm | #18269

This is a very good article hope u mail this article to me

Posted by mr .bharath rakesh on Monday, 06.4.07 @ 17:15pm | #18180


This is prabalya doing my b-tech 3rd yr recently i have joined for java i need some more
good interview questions & answers related to core java please mail to my id

Posted by prabalya on Friday, 06.1.07 @ 22:47pm | #17966

iam not understanding how should i get interst in projects,plz guide me

Posted by pavani on Friday, 06.1.07 @ 14:49pm | #17940

hi sir,
i'm chandrasekhar working as software developer.
here u'r material is so good but we require some more information means faq's on STRINGS and STREAMS.

Posted by chandrasekhar on Thursday, 05.31.07 @ 13:59pm | #17841

some one tell me about abstraction of object in
java,in abstraction if two object denote same object it means (they have same instance variable and mathod also same or not).i am confused ,will u help me
thanks
rahul

Posted by rahul on Saturday, 05.26.07 @ 17:43pm | #17357

Is there a source for CORE JAVA objective typr questiones?

Posted by sreekumar on Friday, 05.25.07 @ 18:05pm | #17252

I am very thank full to you people,
for the really good question........

Posted by Rahul Kumar Singh on Tuesday, 05.22.07 @ 22:44pm | #17027

Hi,

Can anyone send me the Frequetly asked Java & J2EE Interview Question & answers links.

Regards,
Vijay

Posted by Vijay on Sunday, 05.20.07 @ 19:09pm | #16828

Thanks for providing valuable questions.

Vishal Rastogi

Posted by Vishal Rastogi on Friday, 05.18.07 @ 14:10pm | #16367

Hi friends i hv joined my java/j2ee course but i need ur advise that which book is more preferable

Posted by Ajeet on Tuesday, 05.15.07 @ 16:51pm | #15997

i need some i terview questions of core java and advance j2ee.
plz send question ASAP.
thanks

alok gupta

Posted by alok on Saturday, 05.12.07 @ 12:23pm | #15722

Hi Friends,
This is sekhar.Doing M.C.A.Send me more question&Answers in core java to my email.My id is ahaandhra@rediffmail.com.

Posted by B.Chandra Sekhar on Saturday, 05.12.07 @ 10:22am | #15713

Hi,
Any one who knows java, I need some help...
Please email me and i can ask you my question..
I will appreciate you..

Thanks a lot....

Posted by Omar on Saturday, 05.12.07 @ 00:41am | #15677

plz send me java core and advanced (structs,servelets) tutorial adress(URLS)

Posted by ch.v.raju on Monday, 05.7.07 @ 18:15pm | #15410

concept are good and understandable

Posted by sudhanya sengupta on Monday, 05.7.07 @ 10:17am | #15386

"There is nothing new under the sun"

"Except in the computer industry"

Can anyone send me some of the important interview qustions in core java

Posted by Dharmveer singh (AVINASH) on Monday, 04.30.07 @ 21:22pm | #15108

Hi !
Can anyone send me some of the important interview qustions in core java... If possible send me also j2ee questions too.......

Posted by Franklin arul aj on Monday, 04.30.07 @ 18:46pm | #15100

right now i am learning java .feel good in this paltform n see this site is fine n suggest u to take a path of this sitewhen u have doubts in java.

Posted by raji on Sunday, 04.29.07 @ 16:44pm | #15057

plz send me core java and swing interview questions to my mail id as soon as possible thirumurthymca@yahoo.co.in

Posted by Thirumurthy on Friday, 04.27.07 @ 21:58pm | #15015

great; I love java, I live java.

Posted by vishal on Thursday, 04.26.07 @ 15:31pm | #14978

dear friends,
can u plz end me the examples of implmenting interfaces, abstract classes.
and suggest me a nice book on j2ee.(other than complete ref)

Posted by kiran on Thursday, 04.26.07 @ 11:35am | #14952

i,m intressted job in java and my inside the tallent for java programming

Posted by M.hussain on Wednesday, 04.25.07 @ 19:54pm | #14922

Will you Please send core java and j2ee interview questions to my mail id.

Posted by kchandra on Tuesday, 04.24.07 @ 18:39pm | #14866

this interview questions useful for job searching persons

Posted by chandra on Tuesday, 04.24.07 @ 18:37pm | #14865

Plz send me material for complete java.like starting from core java,servlets,jdbc,jsp,struts ,hibernet,j2ee concept asap.

Thank u in advance.

Posted by RAJESH on Tuesday, 04.24.07 @ 16:37pm | #14857

CAN YOU ANY ONE SEND ME, A INSERT,UPDATE,DELETE

PROGRAM IN JAVA USING MSSQL SERVER

Posted by vivekanandan on Tuesday, 04.24.07 @ 16:04pm | #14854

Please send these question in my mail my mail id id <avanish.chester@gmail.com>

Posted by Avanish on Tuesday, 04.24.07 @ 14:41pm | #14847

Hi,

Will you Please send core java and j2ee interview questions to my mail id.

Thank You

Posted by Sarath on Monday, 04.23.07 @ 15:35pm | #14803

Please send me core java and j2ee full questions to my mail id asap..

Posted by Namrata Maheshwari on Monday, 04.23.07 @ 12:04pm | #14792

how to devlope a calculator program using java

Posted by sravan on Sunday, 04.22.07 @ 16:48pm | #14746

please send me complete material of core java ,jsp servlets, advanced java n j2ee interview questions n answers as soon as possible.
THANK YOU

Posted by upasana on Sunday, 04.22.07 @ 16:36pm | #14745

Please send me core java and j2ee full questions to my mail id asap..

thank you in advance

Posted by M.Santhosh on Saturday, 04.21.07 @ 22:49pm | #14691

Hi,
It was really good visiting this site but i would like you to add more questions of core java and J2ee.
Thanking you

Posted by Soumi Prabha Paul on Friday, 04.20.07 @ 19:36pm | #14639

sir pls give the detail of core java &j2ee interviewquistion .
thanx sasanka

Posted by sasanka on Friday, 04.20.07 @ 17:48pm | #14632

hello pls send me all J2EE(core ,servlets,jsp,ejb ect..) Materials/FAQs to my mail id

Posted by vinaya kumar s on Friday, 04.20.07 @ 17:06pm | #14630

this site is excellent and easy to understand

Posted by sudhee on Tuesday, 04.17.07 @ 01:33am | #14374

I want compleate core & j2ee interview questions also i want to appear for sun certification can u please provide me matrial,URL which help me.

Thanku,
Latha.

Posted by latha on Monday, 04.16.07 @ 23:36pm | #14369

sir
i need complete material of core java ,advanced java n j2ee interview questions n answers.can u plz send me all those things then i ll remain oblige 2 u.
thanking u sir
smruti

Posted by smruti on Tuesday, 04.10.07 @ 21:03pm | #13748

interview question in java

Posted by M.hussain on Tuesday, 04.10.07 @ 20:20pm | #13746

can u give me the complete material for struts jsp servlets and core java ,sir?

thanking you

regards
BH.Phani Shekhar

Posted by bhps1203 on Tuesday, 04.10.07 @ 18:37pm | #13735

This site is Gooooooooooooooood

Posted by Siddeswara Reddy on Tuesday, 04.10.07 @ 17:57pm | #13734

Sir,
Please send core java and J2EE question to my mail id asap. Thank you in advance.

Posted by santosh singh on Tuesday, 04.10.07 @ 16:19pm | #13724

sir
I need quick review FAQS of core java and j2ee interview questions . Will u please send to my email
thank you

Posted by Saikumar kulla on Tuesday, 04.10.07 @ 12:21pm | #13703

Respected sir,

I need complete mterial of core java and j2ee interview questions . Will u pls send it to my email id.

thanking u sir

Posted by ajaad on Tuesday, 04.10.07 @ 11:12am | #13698

Pls send me the Cortejava materials/FAQs to my mail Id

Posted by ILAYARAJA on Monday, 04.9.07 @ 20:41pm | #13653

sir
I need material of core java and j2ee interview questions . Will u pleass send to my email
thank you

Posted by pramod on Monday, 04.9.07 @ 14:42pm | #13633

I want to appear for Sun Certification pls provide me with some sample test paters for preparation,which help me to get through the exam

Posted by mohd on Monday, 04.9.07 @ 14:29pm | #13632

i want questions and answer regardingcore and advance java for my interviews

Posted by amit puri on Monday, 04.9.07 @ 14:02pm | #13631

I need core java materials..........
pls send me soon
I want to prepare for interview

Posted by sathya on Sunday, 04.8.07 @ 13:09pm | #13579

Thanks. what is the work that had given in the companies?and everything with detailed.

Posted by suji on Sunday, 04.8.07 @ 07:35am | #13573

thanks for some great questions i would like to know wht is meant by copy constructors.

Posted by vishal on Friday, 04.6.07 @ 11:40am | #13453

sir

I need complete mterial of core java and j2ee interview questions . Will u pls send to my email id.

thanking u sir

Ragu

Posted by Ragunathan on Thursday, 04.5.07 @ 19:41pm | #13407

sir
I need material of core java and j2ee interview questions . Will u pleass send to my email
thank you

Posted by moon on Thursday, 04.5.07 @ 16:55pm | #13393

sir
I need complete mterial of core java and j2ee interview questions . Will u pls send to my email id.
thanking u sir
sameena

Posted by sameena on Thursday, 04.5.07 @ 11:06am | #13378

what is difference between access specifiers and modifiers

Posted by kumar on Tuesday, 04.3.07 @ 10:39am | #13250

pls send any metirial and java interview questions on java and data structures(through java )

Posted by sreenu on Monday, 04.2.07 @ 22:22pm | #13220

sir i want java interview questions can u pl send me sir to my mail

Posted by nareshkumar on Monday, 04.2.07 @ 20:25pm | #13213

what is oop's concept? what is Encapsulation, Polymorphism and Inheritance? where we are used in programs? give me examples?

Posted by siva kumar on Monday, 04.2.07 @ 19:41pm | #13208

I want internal depth of interface can any one plz?

Posted by prakash.r on Saturday, 03.31.07 @ 11:59am | #13064

Thanks for such a nice information and i want about full details about corejava.Especially everyone saying is jobs will come onthis category only ,but what about advanced java and J2EE.and what is the work that had given in the companies?and everything with detailed.
So
please give a more detailed about this .
Thanking you

Posted by swetha on Thursday, 03.29.07 @ 13:35pm | #12903

thanks for giving nice information

Posted by prakash on Tuesday, 03.27.07 @ 14:35pm | #12782

can static method override?

Posted by rahul on Monday, 03.26.07 @ 23:02pm | #12747

Very good interactive site.

Posted by Siva Chandana on Monday, 03.26.07 @ 19:14pm | #12736

I don't know if its allowed to reply here..... But yes, i just saw one of the doubts n felt like sharing something.....the one posted by "bindu". I think its showing an error because you haven't defined the pause() method in class B. In interface, you'll have to define all the methods in whichever class you will inherit....it can b even an empty one!!!! Dats wat i do n it works, Correct me if i m wrong. Thanx

Posted by free_falling on Sunday, 03.25.07 @ 01:53am | #12629

i want to about java.io.*;package.About this input/output stream.
what is different between print(),println()& write()?

Posted by surendra on Thursday, 03.22.07 @ 15:32pm | #12491

Plz send me some important interview questions & answers of c language,core java & vb.net.I'll be really gratefull.

Posted by Shatadru Paul on Thursday, 03.22.07 @ 02:40am | #12441

i want interview questions on java

Posted by omer shahzad on Tuesday, 03.20.07 @ 14:01pm | #12257

Hi ,i want 2 clear with this Q.

if public,private,protected and default are the
access controls means,what are the access modifiers in java.

Posted by vimala on Tuesday, 03.20.07 @ 00:15am | #12201

please send a simple example for interfaces in java.give one sample program with explanation.

Q:why we using the throws IOException in some progams only.
where this IOException is required

Posted by phani.buddi on Saturday, 03.17.07 @ 13:05pm | #11978

Very nice. I used to doubt what's the point to cram these basic concepts, but now I find it's really important to know this coz it may help you to get confused.

Posted by Eric on Friday, 03.16.07 @ 22:52pm | #11931

I know that instance & object are different thing.
But i can't explain them.
So plz can u make me understand with example.can u send me answer on my e-mail id
thanx,
Mrugesh

Posted by Mrugesh on Thursday, 03.15.07 @ 02:05am | #11733

interface A
{
void show();
void play();
void pause();
}
abstract class B implements A
{
public void show()
{
System.out.println("show a");
}
public void play()
{
System.out.println("play method");
}
}
public class Interface
{
public static void main(String[] args)
{

it does not work ,it shows an error , iwant to execute this prm means i want to overide 2 methods in another class plz solve this problem

Posted by bindu on Wednesday, 03.14.07 @ 08:22am | #11637

Qtns r satisfiable.i hope that they will be updated regular includings.

Posted by kishore on Tuesday, 03.13.07 @ 15:56pm | #11578

hi..
this is kalees
i have more doubts in abstract class and interface so pls clearly explain me.....

Posted by kalees on Tuesday, 03.13.07 @ 11:44am | #11567

what a different b/w hashmap and TreeMap

Posted by vadivel on Monday, 03.12.07 @ 00:08am | #11417

private class A
{
void kani()
System.out.println("kani");
}
public class B extends A
{
void valavan()
System.out.println("valavan");
}
class C
{
public static void main(String args[])
{
A a=new A();
B b=new B();
a.kani();
b.valavan();
}
}
i was not able to run this program.when i ru n this program some error appear.can u tell me what mistake i made and then what is difference between public , private,protected and default,

Posted by kanivalavn on Tuesday, 01.30.07 @ 15:08pm | #4695



Here in this case of a writting a class we have some rules in using our access modifiers

to give a brief idea abt it.......
We have 3 access modifiers in java and 4 access levels
(ie)private,protected,public r the three access modifiers in java
and private,public,protected,and default r four access levels in java

and the rules in using this access modifiers in java are ...

1)We should not use access modifier private and protected infront of class declaration, so if we use this we can not compile the program

This might be the solution for ur program not compiling

if u have any doubt regarding this issue u can feel free for mailing me

mailid:naresh_madigani09@yahoo.co.in

Posted by Naresh on Saturday, 03.10.07 @ 08:26am | #11297

i read all q,but i think it is not enough.Could anybody give me detail question related core java.

Posted by amruta on Friday, 03.9.07 @ 10:39am | #11222

The Questions provided here are very useful. I myself came acroos most of them during my earlier intervies. I'd like you people to add more questions to this section on Inheritance, Polymorphism, Encapsulation, Data Abstraction, Legacy Classes, and Interfaces.

Thank You

Posted by Srujan Mishra on Thursday, 03.8.07 @ 11:21am | #11102

can you give one example for transient variable

Posted by Nagaveni on Wednesday, 03.7.07 @ 12:12pm | #10947

please send more interview questions

Posted by Nagaveni on Wednesday, 03.7.07 @ 12:08pm | #10946

DESCRIPTION OF THE TEST
PURPOSE:
The goal of this exercise is to develop a JAVA version of Puyo-Puyo, a variation of the Tetris game.

We are interested in seeing your code writing skills, style and logic.
Don't hesitate to comment on your code in order to make it as clear as possible.

Please do not browse the web (or any other source of information) to find the code of this program already developed.

Anyway feel free to browse the web to find a playable version of the game for reference.

Purpose of this exercise is to assess the skills and game play implementation ability.

RULES OF GAME:
· Spheres come down from the top of the game board in pairs. A player can rotate them on their way down.

· Spheres come in 4 different colors: red, blue, green, and yellow

· Linking four spheres of the same color (horizontally, vertically or both(as in tetris)) removes them from the game board, allowing any sphere remaining to drop and fill the vacated space.
· This may lead to several possible "chain combos" if additional colors match.

· The game board can be any size you want (we recommend 6x12)

· Note that the pair of spheres are not linked to each other. If one sphere is blocked because there is something underneath, the other one will continue falling (with no player control over it) until it reaches something.

· The Zip Files Contain:
· 4 pictures of the spheres
· A screenshot of the game as it should look

· As stated before, feel free to browse the web to find a playable version of the game for reference if some rules are unclear.

TO SUBMIT:

- Please submit a java console application that will open a window and start the game.
- You may attach a separate text file that documents player controls and any other comments (as gameplay improvements, bugs not corrected, any comment that will help evaluate your submission...)

IMPORTANT:
- JAVA only - Java console application (not an applet)

please code of Puyo-Puyo in java

Posted by Dileep Kumar chourasia on Monday, 03.5.07 @ 17:59pm | #10739

complete faqs on Exception Handling

Posted by thari on Thursday, 03.1.07 @ 18:01pm | #10048

Very good site...but more questions should be added..and in brief

Posted by arshia on Wednesday, 02.28.07 @ 11:14am | #9924

could anyone tell the can we edit the values in Enumeration?

Posted by srinivaschowdary on Tuesday, 02.27.07 @ 14:17pm | #9824

try this kanivalavn

class A
{
void kani()
{
System.out.println("kani");
}
}
class B extends A
{
void valavan()
{
System.out.println("valavan");
}
}


class Exam
{
public static void main(String args[])
{
A a=new A();
B b=new B();
a.kani();
b.valavan();
}
}

Posted by vani on Tuesday, 02.27.07 @ 12:50pm | #9808

Hi.....
This is nagesh...
The difference between final,finally & finalize is
final:It is of variable scope,used for declaring the varibales,which when declared the variable is constant through the application.

finally:It is a block written after the try and catch,the code in this block will be executed compulsary,without regarding what u written in try block....this will be most useful when using jdbc connection

finalize:it is used for garbage collection

Posted by Nageswara Rao on Monday, 02.26.07 @ 22:28pm | #9713

Hi.....
This is nagesh...
The difference between final,finally & finalize is
final:It is of variable scope,used for declaring the varibales,which when declared the variable is constant through the application.

finally:It is a block written after the try and catch,the code in this block will be executed compulsary,without regarding what u written in try block....this will be most useful when using jdbc connection

finalize:it is used for garbage collection

Posted by Nageswara Rao on Monday, 02.26.07 @ 21:09pm | #9702

If u might have attended interviews,in that some traing questions are asked .lz ostr those kind of qustions.
IT will be good for others.
thanks

Posted by Rakesh Kumar on Monday, 02.26.07 @ 17:43pm | #9677

i want to related question of java

Posted by manoj on Saturday, 02.24.07 @ 15:18pm | #9444

Hi I read question realy it helps lots..

Posted by Vikas on Friday, 02.23.07 @ 14:25pm | #8967

these matters r very benificial for any java interviev.

Posted by indresh pandey on Friday, 02.23.07 @ 02:34am | #8927

pl gave some question in thread in java program.pl

Posted by sumon das on Friday, 02.23.07 @ 00:21am | #8920

Could you explain me the difference between Swing and AWT in detail?

Posted by piyush upadhyay on Thursday, 02.22.07 @ 17:19pm | #8887

Please Send more details of Core java and Advance Java with Questions and Answers for which I will be pleased these Questions are Awewsome I have read all and it's nicely presented.
ThankYou.

Posted by Vikas Sharma on Thursday, 02.22.07 @ 11:57am | #8839

ya it is very helpful for java developer
realy fine

Posted by raj on Friday, 02.16.07 @ 15:13pm | #8054

Hi,
I read these questions ya its fine but i want more details abount every concept

Posted by Utkarsh on Thursday, 02.15.07 @ 22:19pm | #7994

All the questions are very useful for me.
Thank you.

Posted by Mahesh on Thursday, 02.15.07 @ 14:27pm | #7962

yeah this site is quite useful but you should try to enhance its vision meaning to say is that more questions and practical problems should be added to the content. An index should also be mentioned at the top of it.

Posted by saurabh atrey on Wednesday, 02.14.07 @ 11:50am | #7861

Question: What is the difference between the instanceof and getclass, these two are same or not ?
Answer: instanceof is a operator, not a function while getClass is a method of java.lang.Object class. Consider a condition where we use
if(o.getClass().getName().equals("java.lang.Math")){ }
This method only checks if the classname we have passed is equal to java.lang.Math. The class java.lang.Math is loaded by the bootstrap ClassLoader. This class is an abstract class.This class loader is responsible for loading classes. Every Class object contains a reference to the ClassLoader that defines. getClass() method returns the runtime class of an object. It fetches the java instance of the given fully qualified type name. The code we have written is not necessary, because we should not compare getClass.getName(). The reason behind it is that if the two different class loaders load the same class but for the JVM, it will consider both classes as different classes so, we can't compare their names. It can only gives the implementing class but can't compare a interface, but instanceof operator can.
The instanceof operator compares an object to a specified type. We can use it to test if an object is an instance of a class, an instance of a subclass, or an instance of a class that implements a particular interface. We should try to use instanceof operator in place of getClass() method. Remember instanceof opeator and getClass are not same. Try this example, it will help you to better understand the difference between the two.
Interface one{
}

Posted by gowreesan on Wednesday, 02.14.07 @ 11:27am | #7858

Dear Nijel,

answer for How you can force the garbage collection? is wrong. right??
we can force using

System.gc();
and
Runtime.getRuntime().gc();


no i think it is System.gc.Collect();
we have to use the Collect method to call it.



Posted by Vikash Prabodh on Tuesday, 02.13.07 @ 14:15pm | #7730

Dear venki (Saturday, 01.27.07 @ 17:02pm | #4488)

your program:

public class A
{
//body of class
}
public static void main(String args[])
{
A a=new a();
a.methodname();

true it will not compile .
try this
A a=new A();
then it will compile.

Posted by vikash prabodh on Tuesday, 02.13.07 @ 14:10pm | #7729

Dear gulshan(01.2.07 @ 15:51pm | #2420
),
u asked... why we write static in main.

public static void main(string agrs[])

the solution to this question is we can have multiple functions named main in our program of java but the function whichn is having a static is considered as tha main function and exicution statrs from there. we cannot have more than 1 static main function as it will result in a compilation error.

Posted by vikash prabodh on Tuesday, 02.13.07 @ 14:06pm | #7726

cool site. but the explanations need little more clarity. i need section wise questions to test on my skills on a gegular basis. plz do that...........

and last but not the least plz put in some more questions.

Posted by Vikash Prabodh on Tuesday, 02.13.07 @ 13:57pm | #7722

I need more questin and answers on java. On each and every topic.

Posted by sudha on Monday, 02.12.07 @ 16:46pm | #7546

Its a very useful site. I would like it to contain more valuable sets of questions and answers

Posted by Meghnath Sharma on Sunday, 02.11.07 @ 20:29pm | #7383

core java interview question

Posted by maqbool on Thursday, 02.8.07 @ 21:54pm | #6852

Very Informative......

Posted by Madhu on Thursday, 02.8.07 @ 15:15pm | #6790

i need to java FAQ with answere as well as possible.

Posted by tararak on Wednesday, 02.7.07 @ 20:34pm | #6645

Hello!
I have many probs in java........

Posted by Aakash on Sunday, 02.4.07 @ 04:02am | #5835

Good, but need more

Posted by chandu on Saturday, 02.3.07 @ 23:18pm | #5776

what are the maximum numbers of statements created in our jdbc program.

Posted by pritesh on Saturday, 02.3.07 @ 20:24pm | #5735

what's is the ways through which we make our own class immutable(eg:-String class)?

Posted by pritesh on Saturday, 02.3.07 @ 20:21pm | #5733

why Iterable interface is in Java.lang package

Posted by pritesh on Saturday, 02.3.07 @ 20:17pm | #5731

answers to most of the questions have been very clear and good.but it would be nice if you could give us more questions and answers.

Posted by pooja on Saturday, 02.3.07 @ 11:27am | #5615

tricky questions answered in simple ways which is easy to understand and a great learning time

Posted by Dinesh on Thursday, 02.1.07 @ 11:58am | #5154

i read those questions.it is very useful for me.
i have doubt following program.can u plz clear for me.
my question is
private class A
{
void kani()
System.out.println("kani");
}
public class B extends A
{
void valavan()
System.out.println("valavan");
}
class C
{
public static void main(String args[])
{
A a=new A();
B b=new B();
a.kani();
b.valavan();
}
}
i was not able to run this program.when i ru n this program some error appear.can u tell me what mistake i made and then what is difference between public , private,protected and default,

Posted by kanivalavn on Tuesday, 01.30.07 @ 15:08pm | #4695

Hi

I read those questions .These are useful to me what im going to face in interview regarding java. and i also need more detailed about those questions.

Posted by Rima Loganathan on Saturday, 01.27.07 @ 22:10pm | #4504

can u explain is this program will compile or not, but why?
public class A
{
//body of class
}
public static void main(String args[])
{
A a=new a();
a.methodname();
}

Posted by venki on Saturday, 01.27.07 @ 17:02pm | #4488

A good amount of infomation about RMI is needed.

Posted by Gayathri.M on Saturday, 01.27.07 @ 06:32am | #4455

what is thread safe?

Posted by Pushpendra Singh Dhakad on Friday, 01.26.07 @ 09:41am | #4386

which site is good for examples of core java

Posted by pavithra on Wednesday, 01.24.07 @ 20:08pm | #4264

hi, my name is bhanu

i would like to learn java from the web. so what can i do?
please tell your opinion.

Posted by bhanu on Tuesday, 01.23.07 @ 20:10pm | #4160

Breifly Explain abt Instance variable ?

Posted by Ravi Aadithya on Sunday, 01.21.07 @ 21:53pm | #3999

What is Instance variables?

Posted by Ravi Aadithya on Sunday, 01.21.07 @ 21:43pm | #3998

explain final,finally,finalize

Posted by deena on Sunday, 01.21.07 @ 17:36pm | #3984

hi all,
i want example programs on vituall functions with clear explanation could u people provide this. tanx in advance

Posted by raani on Friday, 01.19.07 @ 16:01pm | #3828

sometimes very silly and easy questions are asked in the interview which we think very easy but find it hard to answer.so please put such questions which can crossed questioned.

Posted by dora on Friday, 01.19.07 @ 12:25pm | #3815

hi
the questions are of great use especially for the freshers but can be made more useful if more questions are addded in a proper format means topic wise and with easy explaination.

Posted by dora on Friday, 01.19.07 @ 11:31am | #3811

Very good basic questions are explained in a simple,understandable way.Too good.

Posted by Emi on Friday, 01.19.07 @ 11:16am | #3810

Good, to the point descriptions...

Posted by Siddharth on Thursday, 01.18.07 @ 14:11pm | #3748

hi!as i am the student of engg.(electronics& comm),so if u sent those questions on core java which aer common or offently asked in our interviews (software company).

Posted by sankalita pal on Thursday, 01.18.07 @ 13:45pm | #3743

Nijel's comments below are incorrect, you cannot force garbage collection, you can only recommend it.
The JVM might execute garbage collection when you run gc command most of the time but it is not garunteed!

Posted by ramanuj on Thursday, 01.18.07 @ 10:00am | #3727

its very useful

Posted by deena on Wednesday, 01.17.07 @ 16:13pm | #3676

good. but need more question and answers. it would be useful.

Posted by saravana kumar on Wednesday, 01.17.07 @ 16:10pm | #3675

Its really helpful site and cover basic interview questions.

Posted by sudip on Tuesday, 01.16.07 @ 11:18am | #3595

please give questions related to programming concepts with alittle example and provide further questions on their atomic words like static,final,interface,class etc.

Posted by Alok Sharma on Friday, 01.12.07 @ 13:46pm | #3276

please give questions related to programming concepts with alittle example and provide further questions on their atomic words like static,final,interface,class etc.

Posted by Alok Sharma on Friday, 01.12.07 @ 12:37pm | #3273

I have a problem here in this question ,

What are Access Specifiers available in Java?

The websites claims that there are 4 , Mind you. There aren't 4 access modifiers , there are 4 access controls i.e public , private,protected and default , NOT defaults. Also the three access modifiers are public , private and protected.

Thanks.
Yogendra

Posted by Yogendra on Thursday, 01.11.07 @ 19:20pm | #3212

it is good site to know about Java Concept but not very good., So please arrange too much Question, Thanks

Posted by Mritynjay on Thursday, 01.11.07 @ 01:48am | #3147

Hi! Rama krishna
Your queries has been solved.

Question: what is the class variables ?
Answer: When we create a number of objects of the same class, then each object will share a common copy of variables. That means that there is only one copy per class, no matter how many objects are created from it. Class variables or static variables are declared with the static keyword in a class, but mind it that it should be declared outside outside a class. These variables are stored in static memory. Class variables are mostly used for constants, variable that never change its initial value. Static variables are always called by the class name. This variable is created when the program starts i.e. it is created before the instance is created of class by using new operator and gets destroyed when the programs stops. The scope of the class variable is same a instance variable. The class variable can be defined anywhere at class level with the keyword static. It initial value is same as instance variable. When the class variable is defined as int then it's initial value is by default zero, when declared boolean its default value is false and null for object references. Class variables are associated with the class, rather than with any object.
Question: What is the difference between the instanceof and getclass, these two are same or not ?
Answer: instanceof is a operator, not a function while getClass is a method of java.lang.Object class. Consider a condition where we use
if(o.getClass().getName().equals("java.lang.Math")){ }
This method only checks if the classname we have passed is equal to java.lang.Math. The class java.lang.Math is loaded by the bootstrap ClassLoader. This class is an abstract class.This class loader is responsible for loading classes. Every Class object contains a reference to the ClassLoader that defines. getClass() method returns the runtime class of an object. It fetches the java instance of the given fully qualified type name. The code we have written is not necessary, because we should not compare getClass.getName(). The reason behind it is that if the two different class loaders load the same class but for the JVM, it will consider both classes as different classes so, we can't compare their names. It can only gives the implementing class but can't compare a interface, but instanceof operator can.
The instanceof operator compares an object to a specified type. We can use it to test if an object is an instance of a class, an instance of a subclass, or an instance of a class that implements a particular interface. We should try to use instanceof operator in place of getClass() method. Remember instanceof opeator and getClass are not same. Try this example, it will help you to better understand the difference between the two.
Interface one{
}

Class Two implements one {
}
Class Three implements one {
}

public class Test {
public static void main(String args[]) {
one test1 = new Two();
one test2 = new Three();
System.out.println(test1 instanceof one); //true
System.out.println(test2 instanceof one); //true
System.out.println(Test.getClass().equals(test2.getClass())); //false
}
}

Posted by roseindia team on Tuesday, 01.9.07 @ 13:19pm | #3009

what is the diff b/w static variable and instance variable?

Posted by pavani on Monday, 01.8.07 @ 16:36pm | #2953

very useful information in interview point of view but need some more information

Posted by lakshmi on Monday, 01.8.07 @ 16:34pm | #2952

fine but need some more question of Core Java.

Posted by Shashikant on Monday, 01.8.07 @ 11:45am | #2927

what is the class variables ?
what is the purpose of getclass ?
what is the difference between the instanceof and getclass,these two r same or not ?

Posted by rama krishna on Sunday, 01.7.07 @ 18:31pm | #2856

I got a greate collection of Java Base Interview Question and Answer, on this site.
My Suggestion is please provide more question. Put them according to the category. It will make this more impressive.
All the best
Vivek

Posted by Vivek on Wednesday, 01.3.07 @ 14:15pm | #2533

can any one send me game code for PUYO PUYO

Posted by rakesh on Wednesday, 01.3.07 @ 12:22pm | #2527

its good q ans



my q is why we write static in main.

public static void main(string agrs[])

Posted by gulshan on Tuesday, 01.2.07 @ 15:51pm | #2420

good but need still more info.

Posted by anu on Saturday, 12.30.06 @ 06:27am | #2244

hi,it's very beneficial for both language learners and job seekers.I hope this will help those who aspire to specialize in java.

Posted by J.R.sharma on Friday, 12.29.06 @ 18:56pm | #2221

Good Questions for freshers.

Posted by Manish Puri on Friday, 12.29.06 @ 10:43am | #2194

Hi its very useful in the interview point of view
I think some more clear explanation needed for every topic

Posted by Ramesh Kumar on Thursday, 12.28.06 @ 11:42am | #2142

hai padmaja,
u r asking abt virtual function. in the case of overridding .when u call the base class fuction the dervived class function is called and executed in that if u want to execute the function what u need in that sitution we declare the base class function that is overridded as virtul so the complier understand the function that is to be called at the runtime based on the
type of an object passed rather than the type of the pointer used .
i think padmaja u understand this

Posted by ramesh t on Wednesday, 12.27.06 @ 09:47am | #2091

hi all,
what are virtual functions and methods . pls explain with an aexample......

Posted by padmaja on Tuesday, 12.26.06 @ 13:51pm | #2034

hai venkat ,
thread means a program with single flow of control is called thread.for ex if u take main() a thread is created and start exection the statements what u r written in that.
multithread means execution of multi threads at the sametime. this very useful concept i think y bcoz
for ex:
if u take two p1,p2
executing these two threads by using time slicing or priority .so thse two will be done at the same time.
for ex:if two threds are calling the same method
in that sitution dead lock has occurs for avoding this we r using the concept of synchronisation.put the method calling as synchronised.

Posted by ramesh t on Tuesday, 12.26.06 @ 10:39am | #2026

could u plz explain more about threads,multithreadind,synchronisation? plz explain with a real time example?

Posted by venkatesan on Saturday, 12.23.06 @ 13:58pm | #1486

Thanx 4 d giving information about java its very important and very useful information......

Posted by Sneha Yenegure on Thursday, 12.21.06 @ 23:43pm | #1421

hai raju,
this is ramesh u r asked question is y java not provide global variables. do u know y java and c++ come in picture the main thing is data security.if u use glabal variables that means it is accesed through out but it spoils the encapsulation and datahiding concepts.the data should be accessed by the fun of that classes only

Posted by ramesh t on Thursday, 12.21.06 @ 21:01pm | #1412

In JDBC Connection is an INTERFACE eventhough we have to create an Object for it,actually we cannot create objects for INTERFACES,what are the possibilities to create an object for interface?

Posted by thiru on Thursday, 12.21.06 @ 12:03pm | #1384

Good question but not enough for freasher

Posted by Manish on Wednesday, 12.20.06 @ 17:01pm | #1350

hai ,
someone ask what is hashtable.
the table contains keys.that contain like this
0 ram
1 suresh
2 mahesh

Posted by ramesh t on Tuesday, 12.19.06 @ 20:03pm | #1271

very good. provide some more questions.

answer for How you can force the garbage collection? is wrong. right??
we can force using

System.gc();
and
Runtime.getRuntime().gc();

Posted by Nijel on Tuesday, 12.19.06 @ 09:30am | #1217

hi, questions are very knowledgable but should be more on each topic

Posted by sandeep on Monday, 12.18.06 @ 12:00pm | #1184

the question are very useful. still provide some more question and answer.

Posted by saravanakumar on Sunday, 12.17.06 @ 17:06pm | #1151

I will send to Email iD
please

Posted by reddyprasad on Saturday, 12.16.06 @ 22:15pm | #1116

Very Useful

Posted by gopikrishna on Friday, 12.15.06 @ 18:04pm | #1076

excellent

Posted by guru on Friday, 12.15.06 @ 15:16pm | #1067

hi
Questions are good but not enough

Posted by Rajalingam on Thursday, 12.14.06 @ 16:36pm | #1027

These questions are good....But I want more conceptual questions

Posted by raki on Thursday, 12.14.06 @ 13:34pm | #1012

give me more infomation about this

Posted by shikha on Thursday, 12.14.06 @ 11:12am | #1006

pls provide more faqs

Posted by linda on Wednesday, 12.13.06 @ 23:53pm | #999

this is good but not suitable for fresher

Posted by zillu on Wednesday, 12.13.06 @ 12:57pm | #940

helpful.thanx a lot

Posted by sowmya on Tuesday, 12.12.06 @ 13:28pm | #884

Please provide interview questions for spring and hibernate also

Posted by Kotireddy.S on Tuesday, 12.12.06 @ 11:19am | #876

It is very clear to understand

Posted by sukdev on Monday, 12.11.06 @ 17:10pm | #850

Questions are good based on basic concepts.

Posted by Iftekhar on Monday, 12.11.06 @ 14:33pm | #839

Questions are good but not enough

Posted by tejas on Monday, 12.11.06 @ 00:21am | #739

I like very much.

Posted by Devendra Kumar Rai on Sunday, 12.10.06 @ 18:55pm | #735

what is method level exception & when it is trowable.

Posted by pavan on Sunday, 12.10.06 @ 11:54am | #726

Gud but not enough

Posted by Sanjay on Friday, 12.8.06 @ 15:28pm | #639

1.why we will give main class name and file name is same?

2.why java didn't support global variables?

Posted by raju on Thursday, 12.7.06 @ 13:58pm | #586

need more interview questions

Posted by priya on Thursday, 12.7.06 @ 12:29pm | #584

what is hashtable?

Posted by Ravi on Thursday, 12.7.06 @ 07:16am | #574

send more no of interview questions with full explanation.send on many languages also

Posted by priya` on Wednesday, 12.6.06 @ 10:07am | #479

I have started a Beginner Java Tutorial website namely http://www.beginner-java-tutorial.com which is made for beginners to go about Learning Java Programming. I am finding it tough to single handle the site to make it an effective one. So hence I am putting forward a request for you all to contribute anything that you think is suitable for my site and help other Java Programmers. You can help by getting into My forum, the url of which is http://www.beginner-java-tutorial.com/java-forum

Posted by Hemanth on Tuesday, 12.5.06 @ 21:22pm | #437

what are the volatile variables

explains with examples

Posted by amrendra on Tuesday, 12.5.06 @ 16:31pm | #420

BigDecimal lo_PartyCall = null;

the code above is fine or not

Posted by amrendra on Tuesday, 12.5.06 @ 16:29pm | #419

The question is very useful for the interview . i got most of the questions from this tutorial I auspiciously thankful for this.

Posted by Harnarayan on Tuesday, 12.5.06 @ 16:20pm | #418

Please provide some more FAQ's. I think these are not enough.But whatever the information you provided is ok

Posted by Jyothsna on Thursday, 11.30.06 @ 13:14pm | #224

Please provide the interview questions relevantly and shortly

Posted by N.RAJESH on Tuesday, 11.28.06 @ 10:57am | #169

please provide more interview questions

Posted by N.RAJESH on Tuesday, 11.28.06 @ 10:56am | #168

Hi,
I read these questions ya its fine but i want more details abount every concept

Posted by Kalidas on Monday, 11.27.06 @ 12:45pm | #130

big used

Posted by RAMESH KUMAR on Friday, 11.24.06 @ 14:58pm | #76

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.