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  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
they asked class A{}
class B{}
class c{}
all the three class saved as a single file,there is no main
method in the file
and anothe class
M.java
class m
{
psvm(String args[])
{
// here the parent class can access
}
}
 Question Submitted By :: Ravi
I also faced this Question!!     Rank Answer Posted By  
 
  Re: they asked class A{} class B{} class c{} all the three class saved as a single file,there is no main method in the file and anothe class M.java class m { psvm(String args[]) { // here the parent class can access } }
Answer
# 1
What is the Question? Please explain...
 
Is This Answer Correct ?    0 Yes 1 No
Cool_duzz
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
There are 2 classes, 1 LandAnimal and another WaterAnimal. There is another class Animal which wants to have the properties of both LandAnimal and WaterAnimal. How will you design this situation? KPIT3
What are the allowed, non-Unicode letter characters that can be used as the first character of an identifier?  2
public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?  6
what is connection pooling with example? AMDOC1
What is the Dictionary class?  1
what is the purpose of the final in the try-catch-final  5
Name the immediate superclass of the MenuComponent class?  1
Name the package that most of the AWT events that supports event-delegation model are defined?  2
How to make class immutable  5
why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class? Satyam2
what is difference between prepare stetement and callable starement with example? CMC1
What is constructor and virtual function?  4
What is the basic functionality of DataOutput interface in java? TCS2
Hi Friends, can you give difference between extending thread class and implementing runnable interface.  3
what is difference between front controller and action servlet?  2
What is finally in exception handling?  6
what are the methods of an object class?  3
What is meant by class loader and how many types are there? Apple1
How to validate the request (Eg:user name and password) in session(http session)? not in LDAP server ? Saksoft1
How are commas used in the initialization and iteration parts of a for statement?  2
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
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