GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

Core Java Interview Questions


Core Java Interview Questions

Questions: 482
Comments: 2513
 Core Java Tags
 Showing Questions 1-10 of 483 Questions
[1] 2 3 4 5 6 7 8 9 10 Next >>
 Sponsored Links

 
 Core Java Interview Questions
Sorting Options :  

Is null a keyword? if not what is it? 
Latest Answer: "null" is not a keyword, but a special literal of the null type. It can be cast to any reference type, but not to any primitive type such as int or boolean. The null literal doesn't necessarily have value zero. And it is impossible to cast to the null ...
Read Answers (4) | Asked by : gkumawat

What exactly is the difference between between throw and throws? If both are used for the same purpose then why are both needed instead of one? 
Latest Answer: hi there,              throw:the throw keyword is used to throw the exception manually,that is when you feel a particular line in your code, when executed is capable of having some exception ...

What will happen if same access specifier repeats more than once within a class? 
Latest Answer: Can you please make the question clear? ...
Read Answers (4) | Asked by : naggeek

When We should use Synchronization in Java and when we should not? 
Latest Answer: There are two types of variables.1. local variables 2. static or instance variables.local valiables like method parameters are stored in stacks and instance are stored in Heap. You are not bothered to take care for any local things for synchronizations ...

suppose i have 2 members in my class can i serialize a single member? Is there any way to do that? 
Latest Answer: how about move the other 24 member variable to a class?... ...
Read Answers (4) | Asked by : sahadeva

What is Use of declaring an array list object like List list = new ArrayList() rather than creating object like ArrayList arr = new ArrayList(); 
Latest Answer: List is an interface where as Arraylist is a class.Arraylist implements all the methods in List...So the arraylist's methods are invoked as the method body is present in Arralist ...
Read Answers (4) | Asked by : rgmanoj

We usually extend Exception instead of Throwable. Why? In what situations we extend Throwable.Could anybody give the answer in detail. Thanks in advance. 
Latest Answer: Extending the Exception class (a descendant of Throwable) instead of extending Throwable itself is a programming convention, not a requirement.Like most conventions, following the convention lends consistency to the end result. ...
Read Answers (1) | Asked by : svk_viza

Latest Answer: yes absolutely .if the receiving type is String, then both teh operands will concatenate and form 5.453.2 as an answer.but if teh recieving type is a primitive type, then that wud be a error. ...

Latest Answer: Yes  we can declare interface in servlet through httpservlate ...

What is the output of the following program, When tested under JDK 5.0class ExceptionDemo{ public static void main(String[] args) { int a[] = new int[] {1,2,3,4,5}; try{ System.out.prinltln(a[6]); 
Latest Answer: Here the child exception is caught before parent. In your program there are two compilation errors they are println is typed wrong and ArrayIndexOutOfBoundsException is also typed worng which result in compilation errors ...

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

Ask A Question
Go Top
 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 162
2sujatham 75
3vinaymudgil007 35
4Beena 24
5sbarik 21
6mandyjoshi 20
7Karuna Reddy 11
8sadashivarao 11
9rabbi 11
10santh kumar 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
Sponsored Links

 
Sponsored Links



 

 
 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape