question help

Posted on 2010-01-07
Last Modified: 2013-11-23
I have few interview based questions, Please suggest me industry standard answers.

1. we have a class called Student with three fields id, fname, lname.
    now we create a list and add instances of Student to that list. I know list is a sorted collection type. Question interviewer asked was: How would you sort the list by id or fname or lname?

2. what is runtime polymorphism and object composition with example.

3. Industry standard example describing use of Interfaces along with advantage and disadvnatage.

  I need the pointers from all you gurus.

Question by:aman0711
    LVL 40

    Accepted Solution

    LVL 10

    Author Closing Comment

    Thanks Gurvinder

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Suggested Solutions

    Title # Comments Views Activity
    JKS to store upstart data 2 51
    wordsWithout 49 64
    Enhanced For loop vs ForEach Loop 4 42
    allStar challenge 1 27
    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…
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
    Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

    737 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

    20 Experts available now in Live!

    Get 1:1 Help Now