GeekInterview.com
  I am new, Sign me up!
 

Core Java Interview Questions


Core Java Interview Questions

Questions: 500
Comments: 2807
 Core Java Tags
 Showing Questions 11-20 of 502 Questions
<< Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>
 Sponsored Links

 
 Core Java Interview Questions
Sorting Options :  

Suppose a Super Class method throws an exception and this method is Overriden in the subclass with no exception. Now if you create a super class reference that has a subclass object. This throws a compile 
Latest Answer: Over Riding means Same methosd names and in the methods having same parameters. ...

What does "wrapping" an object mean?  
Latest Answer: When an object A is said to "Wrap" object B, it means that Object A HAS A reference to the Object B and deligates calls to it. ...

How to pass commandline arguments in main function through Eclipse Tools (editors). 
Latest Answer: Click the Run menu barNow click the Open Run DialogueA new window will be opened.In that window click the Java applications thenA new sub menu will be opened in that select Arguments menu andType the Arguments with space.Click run to view your result ...

How many methods to read numbers and characters and what should be used. 
Latest Answer: methods in InputStream to read byte and in Reader to read character are -int read()int read(byte buffer[])int readIbyte burrer[],int offset,int numBytes) ...

I'm trying to write an Iterator class for a LinkedList class that I wrote.One of the methods is "public E next()"I try to return an "E" but eclipse says "cannot convert from 
Latest Answer: Object is a class and E is a generic type parameter . And Iterator class alwayes return Object so to fix this problem, you need to call it. For exampleimport java.util.ArrayList;import java.util.Iterator;class list {   ArrayList list = new ...
Read Answers (4) | Asked by : esekiel

what is the use of static data member? 
Latest Answer: Static data members field (variable) and method belong to class. Static fields can be used before creating an instance of the class and static method can be accessed using class name. ...

I am trying to generate ppt through Java using Apache POI API. I am able to create table, bulleted text etc using this API. Please answer the following two questions, if anyone is aware of this. 1. 
Latest Answer: If data contains in the list, try to use two for loops. Or else list element is having the long text, try to use wrap text method, Try to verify POI API. ...

In Real time when we go for Abstract classes and when we go for Interfaces  
Latest Answer: If you want to create only abstract methods in a class then use interface and if you want to create some of the methods as abstract and some as concrete then use abstract class. ...

Hi.. I have developed one web-page which shows ALL employee records fetched from a employee table and display them in my JSP page.It has contain more than 1000's of records. I need to display first 
Latest Answer: Paging In JSP Page:--------------------------1. Change Your SP which is going to retrieve data by adding 2 more columns  CurrentPage,DisplayCount and the usual other Parameters  that u have to pass.2. while passing Parameters from Front End ...

Is null a keyword? if not what is it? 
Latest Answer: Null is not a keyword but null is reserved literal. null is the default value for instance variable.String str = null;means instance variable str does not hold reference of any object. ...
Read Answers (8) | Asked by : gkumawat

View page << Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Expert Members
# User Name Count
1sampra 161
2sujatham 75
3vinaymudgil007 36
4Sarje 24
5Beena 24
6sbarik 21
7mandyjoshi 20
8Karuna Reddy 13
9santh kumar 11
10rabbi 11
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape