Need Answers to Basic FAQ on Java

Posted on 2004-10-27
Last Modified: 2010-03-31
hi, I need answeres to this Q ? pleaze

What is the relationship between a class and an object?

Discuss the difference between single and multiple inheritance. Why
would you choose one over the other?

What is a class library?

What does the term event-driven mean?

What is wrappering?

What is the difference between a class and a type?

How does Java control priorities and conflicts in multithreading?

What is an instance variable?

What is the highest class in Java?

How is threading used in Java?

Question by:princehyderabad
    LVL 19

    Expert Comment

    homework ??
    LVL 86

    Expert Comment

    Sorry - we don't do homework here

    Author Comment

    Need to prepare for interivew ? Thats it. Not a home work.
    LVL 13

    Accepted Solution

    Class is a type, Object is an instance of this type

    Java has no multiple inheritance, u can extend one class and implement multiple interfaces

    Class library is the library of java classes accesable to ur Java application, it is a group of jar files each contains a group of reusable classes

    Event driven means when an event in ur application (like user hits a button) a call back method is called in ur registered class

    wrapping is hiding the complexty of calling Java components like EJB into a simple Java class called wrapper

    Class is a developer defined type

    refer to the J2SE specifications at to know who threads are managed and used

    A varaible is a refernce to an Instance

    Object is the hightest class in Java
    LVL 86

    Expert Comment

    >>Need to prepare for interivew ?

    Ah - they've given you the questions in advance - that was kind of them ;-)

    Author Comment

    Thanks Petmagdy !!

    and Mr.CehJ knowledge increase by sharing.

    Expert Comment

    I hand out a list of questions to interviewees and then get on Experts Exchange and look for

      "How does Java control priorities and conflicts in multithreading"

    when I find it, I know I have a cheater.
    LVL 86

    Expert Comment

    >>I hand out a list of questions to interviewees

    Hmm. I suppose if this were a case in point, you'd have your man if you happened to have an interview candidate called 'Prince Hyderabad' (unless of course it was his competitor 'Mogul Jaipur' who was trying to discredit him who really posted the question...)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    Title # Comments Views Activity
    what is spring 3 29
    sum67 challenge 35 68
    wordsCount challenge 10 37
    scoreUp challenge 14 26
    An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
    For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
    Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
    This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now