ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories >> Software >> Java-Related >> Java-J2EE >> Core-Java
 
 


 

Back to Questions Page
 
Question
what is Remote Reference Layer ?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
hi everybody,
   Remote Reference Layer is using in Remote method 
invocation.when method of one machine execute in one 
machine but run in another machine then it is calledremote 
method invocation.In RMI there is four layers (application 
layer,stub or skelton layer,remote referense 
layer,transportation layer).stub is a client side java 
object and skelton is java object of server side.
 
0
Anuj Pandey
 
 
Question
What is file class and what is its purpose?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
The File class is used to create objects that provide access
to the files and directories of a local file system.
 
0
Janet
 
 
Question
Explain Public static void main?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
public static void main( String[] args )

1. public - declares that the main method is publicly
accessible to other classes

2. static - declares that the main method can be invoked
without creating an instance of the class

3. void - declares that the main method does not return any
value.

4. main - defines the name of the method

5. String[] args - defines a parameter to the main method
which will contain any command line options passed by the
user when invoking the progam.

These command line options will be passed to the program as
an array of string objects.
 
4
Ranganathkini
 
 
 
Answer
public-this method is accessible in all the classes
static-this method is called before creation of any instance
void-this method doesn't return any thing
main-Is the name of the method
 
0
Ravikiran(aptech Mumbai)
 
 
Question
Name two subclasses of the TextComponent class?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
TextArea and TextField
 
0
Niranjanravi
 
 
Answer
TextComponent is supperclass for TextArea & TextField.
 
0
Selvan
 
 
Question
What are teh sub-classes of a component class?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
Container
Label
List
Button
Canvas
Checkbox
Choice
Scrollbar
TextComponent
 
0
Janet
 
 
Answer
component-container-panel-applet
 
0
Chandrarekha
 
 
Question
What primitive Java types? Howmany are they and what are 
their names?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
primitive type is predefined in java.
byte , int ,short ,long , float , double,boolean and  char
are the  primitive data types used in java.
 
0
Ramesh
 
 
Answer
They are implicitly defined in Java.There are 8 of them and
they are:
boolean,char,byte,short,int,long,float,double
 
0
Prasanna
 
 
Answer
primitive datatypes are the one which will allocate some
memory in the stack.And there are 8 primitive data types
1).byte
2).short
3).int
4).long
5).float
6).double
7).char
8).boolean
 
0
Ravikiran(aptech Mumbai)
 
 
Question
What are the names of interfaces that doesn't consists of 
method/s ?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
Cloneable interface 
Serializable interface

these are called marker interface. 
Interface without any method is called Marker or Null 
Interface
 
0
Priyavarzhni
 
 
Answer
How it is possible without the methods? How it works?
 
0
Bullbull
 
 
Answer
serializable
externalizable
 
0
Ravikiran(aptech Mumbai)
 
 
Question
What classes can be used to store arbitrary number of 
objects ?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
ArrayList, Vector
 
0
Nithya
 
 
Question
Explain Connection Pooling?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
Connection Pooling it was nothing but a pool of connection
objects to communicate to database.Generally we will create
our own objects for interacting with databases but,in some
times there is a necessary to create more connection objects
even if they not needed that much.So in this times we will
go for connection pooling mechanism.

In this we will create connection pool in application server
and we will store some connection objects to connection pool
When ever the client or user needs to access database then
with help of Intialcontext lookup() method we can reffer to
connection object.
 
0
Sudhakartalluri
 
 
Answer
connectin pooling is maintaing a pool of connection which
will allow us to resuse the connection without creating a
new one
 
0
Ravikiran(aptech Mumbai)
 
 
Answer
the most time consuming process when we work with a 
database is to create a connection object. when application 
goes out of scope the object becomes a candidate for 
grabage collector. every time we create and every it will 
be destroyed. this as effect on a distributed application, 
where n no clients are waiting for the response. Connection 
pooling is a concept of object reusability.This is a 
service provided by application servers.
 
0
P.nandakishore
 
 
Question
Are there any tools available in java to create reports?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
useing the jasper reports in java we can genarate the 
reports
 
0
Sujanyat
 
 
Answer
jasper reports threw i-report tool
 
0
Ravikiran(aptech Mumbai)
 
 
Answer
there is jsper reports 
we can use i-report toll which is external from java and by 
using it we can create template and create pdf reports
 
0
Ravindra More(ltpl)
 
 
Answer
These are following reports which are supported by java:-

Elixir Report
JasperReports
Crystal-Clear
JReport
 
0
Shweta Sharma
 
 
Answer
I Report is best for Jasper since it creates dynamic width
and height of the table depending on the no. of columns
 
0
Jigar
 
 
Question
Does any tag exists in HTML to upload and download files ?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
<input type=file> tag upload file
 
0
Shweta
 
 
Answer
<input type="file">
 
0
Ravikiran(aptech Mumbai)
 
 
Question
Is 'sizeof' a keyword?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
No "sizeof" is not a keyword in the Java Programming Language
 
5
Ranganathkini
 
 
Answer
The Keywords used in Java for getting the size of a string 
or an array is either String.length() or size(), which 
returns a Integer.
sizeOf() is not a keyword!
 
0
Interviewall
 
 
Answer
No it's an unused reserved word
 
0
Ravikiran(aptech Mumbai)
 
 
Answer
no its command thats return the number of the bytes 
forinstance and its mostlly used in arrays ..i hope u can 
find out more  (but for more its reserved in side c so in 
fact its keyward or command when u write it you will see 
the color blue which means thats reserved keyward) i hope 
its can help ..
 
0
Usama
 
 
Answer
sizeof is not a keyword in java it is an operator.
 
0
Dany
 
 
Question
Is 'null' a keyword?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
No "null" is not a keyword of the Java Programming Language,
it is a reserved keyword similar to "true" and "false"
 
0
Ranganathkini
 
 
Answer
no i's a literal
 
0
Ravikiran(aptech Mumbai)
 
 
Answer
No.It is a Reserved word.We should not use this as an 
identifier.
 
0
Raseek
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com