India,Desi,Discussion Forum Board Astrology, Jobs

Go Back   India,Desi,Discussion Forum Board Astrology, Jobs > Career and Jobs > Interview Tips and Tricks
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-27-2010, 09:57 AM
vijay vijay is offline
Senior Member
 
Join Date: Apr 2008
Posts: 136
Default Core Java Interview Questions

1. Can You tell us the range of 'Char Type' ?

2. Can you explain 'wrapped classes' ?

3. Please Number the bits used to represent the Unicode & UTF-16 ?

4. What is synchronization ?

5. Explain the step to convert the number IP address in to a hostname ?

6. Is there any unoverloaded methods in Java ?

7. What are the different identifiers of a Thread ?

8. Can you explain abou Externalizable ?

9. Is it possible to define private and protected modifiers for variables in interfaces ?
Reply With Quote
  #2 (permalink)  
Old 01-27-2010, 11:10 AM
guru guru is offline
Moderator
 
Join Date: Jun 2007
Posts: 1,013
Default

1. The range of the char type is 0 to 2^16 - 1.

2. Wrapped classes are the type of classes which allow primitive types to be accessed as objects.

3. Unicode need 16 bits and UTF-16 uses 16-bit and larger bit patterns.

4. Synchronization is the capability to control the access of multiple threads to shared resources.

5. String hostname = InetAddress.getByName("101.10.013.19").getHostName

6. yes,there are methods. Some classes like DataOutputStream have unoverloaded methods like writeInt() and writeByte().

7. Different identifiers of a Thread are:
R - Running Thread,
S - Suspended thread,
CW - Thread waiting on a condition variable,
MW - Thread waiting on a monitor lock,
MS - Thread suspended waiting on a monitor lock

8. Externalizable is an Interface that extends Serializable Interface. It sends data into Streams in Compressed Format.

9. No

Last edited by guru : 01-27-2010 at 11:18 AM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



AddThis Social Bookmark Button
All times are GMT. The time now is 05:44 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0