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                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories >> Software >> Java-Related
 
  J2ME (99)  Java-Related-AllOther (21)
 


 

Back to Questions Page
 
Question
What is a default package ?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
java.lang
 
0
Niranjanravi
 
 
Answer
A default package is the package which is included
automatically when the class is created. One such example is
java.lang package.
 
0
Nithya
 
 
Answer
java.lang
 
0
Ravikiran(aptech Mumbai)
 
 
 
Answer
The default java package is java.lang
 
0
Praveen
 
 
Question
What is a compilation unit?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
a compilation unit resides on the jvm to convert the source
code into byte code after successful debugging
 
0
Ravikiran(aptech Mumbai)
 
 
Question
How many methods does cloneable interface contains?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
It is not having any method because it is a TAGGED OR 
MARKER interface.
 
0
Janet
 
 
Answer
no methods
 
0
Ravikiran(aptech Mumbai)
 
 
Question
What is cloneable interface?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
Cloneable interface is a marker interface which doesn't 
have any methods in it.
 
0
Niranjanravi
 
 
Answer
cloneable interface is a marked interface or tagged 
interface 
that means cloneable interface having no methods but it 
can  hold the information.
 
0
Ramanareddy333
 
 
Answer
it's a marker interface
 
0
Ravikiran(aptech Mumbai)
 
 
Question
What is a Java package and how is it used?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
Package is a separate naming context for the group of 
classes and interfaces.It provides a high level layer of 
access protection and name space management.Packages can 
have access specifiers.
 
0
Guest
 
 
Question
What is Remote Interface ?
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   CTS
I also faced this Question!!   © ALL Interview .com
Answer
Remote interface is an interface which can be implemented 
by remote objects
 
0
Satya
 
 
Answer
remote interface contains the remote methods
 
0
Ravikiran(aptech Mumbai)
 
 
Question
What is an Exception ?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
An Exception is a mild error conditon that your program 
encounters.An Exception can be caught and recoverable.
 
0
Niranjanravi
 
 
Answer
An Exception is logical error.An exception is an event, 
which occurs during the execution of a program, that 
disrupts the normal flow of the program's instructions. 
when an exception is occur the program is teriminated 
suddenly. using  Try , Catch,finally block  to avoid the 
exception
 
0
Ramanareddy333
 
 
Answer
abnormal conditions arise in a program called Exception
 
0
Gopalramana
 
 
Answer
An Exeception is an object that contain the information 
about what went wrong
 
0
Jyothi
 
 
Answer
exception is an abnormal condition occurs during runtime.
 
0
Ravikiran(aptech Mumbai)
 
 
Question
What is constructor and virtual function?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
Constructor is a special kind of method used to initialize 
an object.
 
0
Niranjanravi
 
 
Answer
constructor is special member function whose purpose to
initialize the class member variables.
 
0
Raj
 
 
Answer
constructor name is of the class name which has no return
type and is used o initialize during instantiation of class.

virtual function is the function called t runtime
 
0
Ravikiran(aptech Mumbai)
 
 
Answer
this is all fucking things in oop nd we dont like this kind 
of activites nd this is my pins
 
0
Lun
 
 
Question
What is Connection pooling? Explain Pros and Cons?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
Connection pooling is the process of resuing the database 
connections  between application and the server to increase 
in the perfaomance of the application.
 
0
Niranjanravi
 
 
Question
What is AppletStub?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
AppletStub is the java.applet interface . This interface is 
used to implement an applet viewer. It is not normally used 
by applet programmers.
 
0
Shweta Sharma
 
 
Question
What happens when you assigned a 'double' value to 
a 'String'?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
result is a string
 
0
Niranjanravi
 
 
Answer
compilation fails

double d=10.5;
String f=(String)(10.5);

will work
 
0
Ravikiran(aptech Mumbai)
 
 
Question
What happens if an exception is not caught?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
results in the termination of the program
 
0
Niranjanravi
 
 
Answer
Run time error
 
0
Syed Mustafa
 
 
Answer
The programme will terminate abnormally and then default
exception handler will handle the exception.
 
0
Sandeep
 
 
Answer
The default exception handler will print the stack trace
 
0
Ravikiran
 
 
 
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