Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

java programe help
Answers in programming language : Java


Question 1:	Explain the difference between the following modifiers
through examples:

§	Abstract
§	Final Class
§	Public

Question 2:	Through a small example, Explain the following:

i)	Concept of Subclasses, Super classes and  Inheritance
ii)	What is the name of the top most class in the  Java and where it
is defined

Question 3:	 List and explain the  main features of Java (for e.g.
multi-threading)  and identify  the classes/package through which they
are supported.



This is a Project Assignment.  Answer the following question using
Java.

Suppose that you have to computerize a car show room which keeps the
latest models of cars, and provides post sales services to customers.

(i)	List all important classes, their data structures and other
attributes.
(ii)	Draw an inheritance diagram for the  entire application which
should comprise  of base classes and sub-classes.
(iii)	Implement at least 3 modules.
(iv)	Describe different reports to be produced by the programmer.




i shall be thankfull to those who will help me

Report this thread to moderator Post Follow-up to this message
Old Post
rohit srivastava
10-26-04 02:00 PM


Re: java programe help
rohit srivastava wrote:
> Answers in programming language : Java
>
>
> Question 1:	Explain the difference between the following modifiers
> through examples:
>
> §	Abstract
> §	Final Class
> §	Public
>
> Question 2:	Through a small example, Explain the following:
>
> i)	Concept of Subclasses, Super classes and  Inheritance
> ii)	What is the name of the top most class in the  Java and where it
> is defined
>
> Question 3:	 List and explain the  main features of Java (for e.g.
> multi-threading)  and identify  the classes/package through which they
> are supported.
>
>
>
> This is a Project Assignment.  Answer the following question using
> Java.
>
> Suppose that you have to computerize a car show room which keeps the
> latest models of cars, and provides post sales services to customers.
>
> (i)	List all important classes, their data structures and other
> attributes.
> (ii)	Draw an inheritance diagram for the  entire application which
> should comprise  of base classes and sub-classes.
> (iii)	Implement at least 3 modules.
> (iv)	Describe different reports to be produced by the programmer.
>
>
>
>
> i shall be thankfull to those who will help me

Don't be ridiculous. Go and do your own homework.

Report this thread to moderator Post Follow-up to this message
Old Post
TechBookReport
10-26-04 08:59 PM


Re: java programe help
rohit srivastava wrote:

> Answers in programming language : Java
>
>
> Question 1:	Explain the difference between the following modifiers
> through examples:
>
> §	Abstract
> §	Final Class
> §	Public
>
> Question 2:	Through a small example, Explain the following:
>
> i)	Concept of Subclasses, Super classes and  Inheritance
> ii)	What is the name of the top most class in the  Java and where it
> is defined
>
> Question 3:	 List and explain the  main features of Java (for e.g.
> multi-threading)  and identify  the classes/package through which they
> are supported.
>
>
>
> This is a Project Assignment.  Answer the following question using
> Java.
>
> Suppose that you have to computerize a car show room which keeps the
> latest models of cars, and provides post sales services to customers.
>
> (i)	List all important classes, their data structures and other
> attributes.
> (ii)	Draw an inheritance diagram for the  entire application which
> should comprise  of base classes and sub-classes.
> (iii)	Implement at least 3 modules.
> (iv)	Describe different reports to be produced by the programmer.
>
>
>
>
> i shall be thankfull to those who will help me

Hint:
See:
1. http://www.mindprod.com/jgloss/homework.html
,especially this part:

> "If you simply post your homework assignment verbatim, people will
> slap you senseless. Don't even dare directly quote so much as a
phrase > from it!"

2. your Java textbook

Those should provide the answers, supposing you are not too lazy to do
some reading.

--
-Aki "Sus" Laukkanen


Report this thread to moderator Post Follow-up to this message
Old Post
Aki \Sus\ Laukkanen
10-26-04 08:59 PM


Re: java programe help
On 26 Oct 2004 04:38:31 -0700, r9937@india.com (rohit srivastava)
wrote:

>Answers in programming language : Java
>
>
>Question 1:	Explain the difference between the following modifiers
>through examples:
>
>§	Abstract

A style of Art.

>§	Final Class

The last class before Summer vacation.

>§	Public

All of us.

>Question 2:	Through a small example, Explain the following:
>
>i)	Concept of Subclasses, Super classes and  Inheritance

I could go on about what Hitler said, but I think all classes are
equal.

>ii)	What is the name of the top most class in the  Java and where it
>is defined

At my college, the top class was our Senior Seminar.

>Question 3:	 List and explain the  main features of Java (for e.g.
>multi-threading)  and identify  the classes/package through which they
>are supported.

My suitcate.

>This is a Project Assignment.  Answer the following question using
>Java.
>
>Suppose that you have to computerize a car show room which keeps the
>latest models of cars, and provides post sales services to customers.
>
>(i)	List all important classes, their data structures and other
>attributes.

b.c.a
a.c.b

>(ii)	Draw an inheritance diagram for the  entire application which
>should comprise  of base classes and sub-classes.

1 -> 2 -> 3

>(iii)	Implement at least 3 modules.

Module 1, Module 2, Module 3

>(iv)	Describe different reports to be produced by the programmer.

Sick report, status report.

>
>i shall be thankfull to those who will help me


--
now with more cowbell

Report this thread to moderator Post Follow-up to this message
Old Post
Bryce
10-26-04 08:59 PM


Re: java programe help
rohit srivastava <r9937@india.com> wrote:
> Question 1:
<cut: theoretical homework assignment>

> Question 2:
<cut: theoretical homework assignment>

> Question 3:
<cut: theoretical homework assignment>


> This is a Project Assignment.  Answer the following question using
> Java.

<cut: practical homework assignment>


> i shall be thankfull to those who will help me

Forget it.

You obviously have no clue whatsoever about :
- *why* you get homework,
- *why* you need to do it _yourself_, and
- the purpose of education in general.

Don't spend any time on your education until you know the answers to all
three points above: it's wasted energy (you've just proven that).


--
Oscar Kind                                    http://home.hccnet.nl/okind/
Software Developer                    for contact information, see website

PGP Key fingerprint:    91F3 6C72 F465 5E98 C246  61D9 2C32 8E24 097B B4E2

Report this thread to moderator Post Follow-up to this message
Old Post
Oscar kind
10-26-04 08:59 PM


Re: java programe help
On 26 Oct 2004 04:38:31 -0700, rohit srivastava <r9937@india.com> wrote:

> Answers in programming language : Java
>
>
> Question 1:	Explain the difference between the following modifiers
> through examples:
>
> §	Abstract

Declares that the class contains an abreviated, yet concise summary of
it's features before any more elaborate methods. This is useful to
to quickly decide if a given class can be useful for you

> §	Final Class

Declares that this class can not ever contain references to other objects.
The garbage collector needs to know which classes are "final" in order to
be able to decide what can be deleted to create new objects.

Think of "final classes" as the leafs in the Object Tree.

> §	Public

Declares that the modified object is considered "public property". This
means that all threads (see there) do all the work in methods of this
class communally. Usually considered a bad idea, but left in the language
specification by insistance of the USSR

> Question 2:	Through a small example, Explain the following:
>
> i)	Concept of Subclasses, Super classes and  Inheritance

A Subclass is a class contained by another class. Subclasses were added
to the language to allow more complicated code.

Super Classes are classes that have proven their usefulness and utility
time and again. Once a year, in a popular vote, this year's five super
classes are elected. Super Classes may display "This is a Super Class"
on the screen whenever their methods are called

Inheritance is the concept of destroying an object to access the data
it contains. Just like in real life, you inherit valuable things
once someone close to you dies. Since you can not access data of
"life" objects, they need to die before you can extract their information

> ii)	What is the name of the top most class in the  Java and where it
> is defined

The Top class is without a doubt
javax.security.auth.login.AccountNotFoundException. Why? because it
became a super class three times in a row, and the comitee decided to
commemorate that event by declaring it the top class.

> Question 3:	 List and explain the  main features of Java (for e.g.
> multi-threading)  and identify  the classes/package through which they
> are supported.

Trick Question. There are no features. There are only bugs.

> This is a Project Assignment.  Answer the following question using
> Java.
>
> Suppose that you have to computerize a car show room which keeps the
> latest models of cars, and provides post sales services to customers.
>
> (i)	List all important classes, their data structures and other
> attributes.
> (ii)	Draw an inheritance diagram for the  entire application which
> should comprise  of base classes and sub-classes.
> (iii)	Implement at least 3 modules.
> (iv)	Describe different reports to be produced by the programmer.

Hmm, car show room. Kind of a classic example. Many plebians will try to
convince you that you need classes like 'Car'. But they forget the basic
classes like CuteSalesGirl or  DumbCustomerWithHeapsOfUnusedCashToSpare
.

Begin by building a GUI that supports the latest in 3d technology to
display the cars on display (and the CuteSalesGirl).

> i shall be thankfull to those who will help me

I shall hope thou findest these humble suggestions helpful, sire

j/k

Stefan

--

Whom the gods wish to destroy they first call promising.

Report this thread to moderator Post Follow-up to this message
Old Post
Stefan Schulz
10-27-04 08:58 AM


Re: java programe help
ROFL - I love this one!

"Stefan Schulz" <terra@spacetime.de> wrote in message
news:opsgh1w0zeq1fd9p@localhost...
> On 26 Oct 2004 04:38:31 -0700, rohit srivastava <r9937@india.com> wrote:
> 
>
> Declares that the class contains an abreviated, yet concise summary of
> it's features before any more elaborate methods. This is useful to
> to quickly decide if a given class can be useful for you
> 
>
> Declares that this class can not ever contain references to other objects.
> The garbage collector needs to know which classes are "final" in order to
> be able to decide what can be deleted to create new objects.
>
> Think of "final classes" as the leafs in the Object Tree.
> 
>
> Declares that the modified object is considered "public property". This
> means that all threads (see there) do all the work in methods of this
> class communally. Usually considered a bad idea, but left in the language
> specification by insistance of the USSR
> 
>
> A Subclass is a class contained by another class. Subclasses were added
> to the language to allow more complicated code.
>
> Super Classes are classes that have proven their usefulness and utility
> time and again. Once a year, in a popular vote, this year's five super
> classes are elected. Super Classes may display "This is a Super Class"
> on the screen whenever their methods are called
>
> Inheritance is the concept of destroying an object to access the data
> it contains. Just like in real life, you inherit valuable things
> once someone close to you dies. Since you can not access data of
> "life" objects, they need to die before you can extract their information
> 
>
> The Top class is without a doubt
> javax.security.auth.login.AccountNotFoundException. Why? because it
> became a super class three times in a row, and the comitee decided to
> commemorate that event by declaring it the top class.
> 
>
> Trick Question. There are no features. There are only bugs.
> 
>
> Hmm, car show room. Kind of a classic example. Many plebians will try to
> convince you that you need classes like 'Car'. But they forget the basic
> classes like CuteSalesGirl or  DumbCustomerWithHeapsOfUnusedCashToSpare
.
>
> Begin by building a GUI that supports the latest in 3d technology to
> display the cars on display (and the CuteSalesGirl).
> 
>
> I shall hope thou findest these humble suggestions helpful, sire
>
> j/k
>
> Stefan
>
> --
>
> Whom the gods wish to destroy they first call promising.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.781 / Virus Database: 527 - Release Date: 10/21/2004



Report this thread to moderator Post Follow-up to this message
Old Post
Hal Rosser
10-27-04 08:58 AM


Re: java programe help
Stefan Schulz wrote:
> On 26 Oct 2004 04:38:31 -0700, rohit srivastava <r9937@india.com> wrote:
> 
>
>
> Declares that the class contains an abreviated, yet concise summary of
> it's features before any more elaborate methods. This is useful to
> to quickly decide if a given class can be useful for you
> 
>
>
> Declares that this class can not ever contain references to other objects.
> The garbage collector needs to know which classes are "final" in order to
> be able to decide what can be deleted to create new objects.
>
> Think of "final classes" as the leafs in the Object Tree.
> 
>
>
> Declares that the modified object is considered "public property". This
> means that all threads (see there) do all the work in methods of this
> class communally. Usually considered a bad idea, but left in the language
> specification by insistance of the USSR
> 
>
>
> A Subclass is a class contained by another class. Subclasses were added
> to the language to allow more complicated code.
>
> Super Classes are classes that have proven their usefulness and utility
> time and again. Once a year, in a popular vote, this year's five super
> classes are elected. Super Classes may display "This is a Super Class"
> on the screen whenever their methods are called
>
> Inheritance is the concept of destroying an object to access the data
> it contains. Just like in real life, you inherit valuable things
> once someone close to you dies. Since you can not access data of
> "life" objects, they need to die before you can extract their information
> 
>
>
> The Top class is without a doubt
> javax.security.auth.login.AccountNotFoundException. Why? because it
> became a super class three times in a row, and the comitee decided to
> commemorate that event by declaring it the top class.
> 
>
>
> Trick Question. There are no features. There are only bugs.
> 
>
>
> Hmm, car show room. Kind of a classic example. Many plebians will try to
> convince you that you need classes like 'Car'. But they forget the basic
> classes like CuteSalesGirl or  DumbCustomerWithHeapsOfUnusedCashToSpare
.
>
> Begin by building a GUI that supports the latest in 3d technology to
> display the cars on display (and the CuteSalesGirl).
> 
>
>
> I shall hope thou findest these humble suggestions helpful, sire
>
> j/k
>
> Stefan
>
Nice!

Pan
 ========================================
===========
TechBookReport: http://www.techbookreport.com/JavaIndex.html

Report this thread to moderator Post Follow-up to this message
Old Post
TechBookReport
10-27-04 01:57 PM


Re: java programe help
Bryce wrote:

> On 26 Oct 2004 04:38:31 -0700, r9937@india.com (rohit srivastava)
> wrote:
>
> 
>
>
> A style of Art.
>
> 
>
>
> The last class before Summer vacation.
>
> 
>
>
> All of us.
>
> 
>
>
> I could go on about what Hitler said, but I think all classes are
> equal.
>
> 
>
>
> At my college, the top class was our Senior Seminar.
>
> 
>
>
> My suitcate.
>
> 
>
>
> b.c.a
> a.c.b
>
> 
>
>
> 1 -> 2 -> 3
>
> 
>
>
> Module 1, Module 2, Module 3
>
> 
>
>
> Sick report, status report.
>
> 
>
>
>
> --
> now with more cowbell

:-)
Not the answers he wanted, I think.

--
-Aki "Sus" Laukkanen


Report this thread to moderator Post Follow-up to this message
Old Post
Aki \Sus\ Laukkanen
10-27-04 01:57 PM


Re: java programe help
Stefan Schulz wrote:

> On 26 Oct 2004 04:38:31 -0700, rohit srivastava <r9937@india.com> wrote:
> 
>
>
> Declares that the class contains an abreviated, yet concise summary of
> it's features before any more elaborate methods. This is useful to
> to quickly decide if a given class can be useful for you
> 
>
>
> Declares that this class can not ever contain references to other objects.
> The garbage collector needs to know which classes are "final" in order to
> be able to decide what can be deleted to create new objects.
>
> Think of "final classes" as the leafs in the Object Tree.
> 
>
>
> Declares that the modified object is considered "public property". This
> means that all threads (see there) do all the work in methods of this
> class communally. Usually considered a bad idea, but left in the language
> specification by insistance of the USSR
> 
>
>
> A Subclass is a class contained by another class. Subclasses were added
> to the language to allow more complicated code.
>
> Super Classes are classes that have proven their usefulness and utility
> time and again. Once a year, in a popular vote, this year's five super
> classes are elected. Super Classes may display "This is a Super Class"
> on the screen whenever their methods are called
>
> Inheritance is the concept of destroying an object to access the data
> it contains. Just like in real life, you inherit valuable things
> once someone close to you dies. Since you can not access data of
> "life" objects, they need to die before you can extract their information
> 
>
>
> The Top class is without a doubt
> javax.security.auth.login.AccountNotFoundException. Why? because it
> became a super class three times in a row, and the comitee decided to
> commemorate that event by declaring it the top class.
> 
>
>
> Trick Question. There are no features. There are only bugs.
> 
>
>
> Hmm, car show room. Kind of a classic example. Many plebians will try to
> convince you that you need classes like 'Car'. But they forget the basic
> classes like CuteSalesGirl or  DumbCustomerWithHeapsOfUnusedCashToSpare
.
>
> Begin by building a GUI that supports the latest in 3d technology to
> display the cars on display (and the CuteSalesGirl).
> 
>
>
> I shall hope thou findest these humble suggestions helpful, sire
>
> j/k
>
> Stefan

:-) & :-)
Maybe even better than Bryce's answers.

--
-Aki "Sus" Laukkanen


Report this thread to moderator Post Follow-up to this message
Old Post
Aki \Sus\ Laukkanen
10-27-04 01:57 PM


Sponsored Links




Last Thread Next Thread Next
Pages (2): [1] 2 »
Search this forum -> 
Post New Thread

Java Help archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:43 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.