Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa UML Class Diagram

Have Programming Question? Ask it here!
 
 
 


Shibin Varghese
Class Diagram
1 Answer(s)      6 years and a month ago
Posted in : UML



Advertisement
View Answers

August 27, 2008 at 11:24 AM


Hi friend,

Code to help solve the problem

1.In Webcrawler class creates the object of caheurl.
2 In Webcrawlerwindow class creates the object of Webcrawler.


class caheurl{
public void showUrl()
{
System.out.println("Welcome caheurl");
}
}
class Webcrawler extends caheurl{

public void showCrawler()
{
caheurl cu = new caheurl();
cu.showUrl();

System.out.println("Welcome Webcrawler");
}
}

public class Webcrawlerwindow extends Webcrawler{

public static void main(String args[])
{
Webcrawlerwindow ww = new Webcrawlerwindow();

ww.showUrl();
ww.showCrawler();
System.out.println("Welcome Webcrawlerwindow");
}

}

Read more information in details :

http://www.roseindia.net/java/

Thanks




Related Tutorials/Questions & Answers:
Java Class Diagram
Java Class Diagram  How to create a class diagram for the process of buying glasses from the viewpoint of the patient. The first step is to see an eye doctor who will give the patient a prescription. Once the patient has
Class Diagram - UML
Class Diagram  Hi Friend, First of all thanks for the answers given to me...... I want to draw class diagram for the following classes 1. Webcrawlerwindow 2. Webcrawler 3. caheurl here class 1 creates the object
Advertisements
Java BackingStoreException Class Hierarchy Diagram
Java BackingStoreException Class Hierarchy Diagram In this section we will discuss about the class hierarchy of BackingStoreException Class diagram in Java... in backing store or failed in to contact the backing store. A class diagram
Java CertificateException Class Hierarchy Diagram
Java CertificateException Class Hierarchy Diagram In this section we will discuss about the javax.security.cert.CertificateException class hierarchy diagram. This class extends the java.lang.Exception class. CertificateException
Java BadAttributeValueExpException Class Hierarchy Diagram
Java BadAttributeValueExpException Class Hierarchy Diagram In this section we will discuss about the BadAttributeValueExpException Class diagram in Java... uses this exception internally when query is evaluated. A class diagram is being
Java BadStringOperationException Class Hierarchy Diagram
Java BadStringOperationException Class Hierarchy Diagram In this section we... diagram in java. This class extends the java.lang.Exception class. When in a query... then BadStringOperationException exception is generated. Class Hierarchy diagram is given
Java BrokenBarrierException Class Hierarchy Diagram
Java BrokenBarrierException Class Hierarchy Diagram In this section we will discuss about the java.util.concurrent.BrokenBarrierException class diagram... upon it. A class hierarchy diagram is given below : Constructor Detail
Java BadLocationException Class Hierarchy Diagram
Java BadLocationException Class Hierarchy Diagram In this section we will discuss about the javax.swing.text.BadLocationException class diagram in Java.... A class diagram of this exception class is given below : Constructor Detail
Java ClassNotFoundException Class Hierarchy Diagram
Java ClassNotFoundException Class Hierarchy Diagram In this section we will discuss about the java.lang.ClassNotFoundException class hierarchy diagram.... ClassNotFoundException class hierarchy diagram is given below
Java AclNotFoundException Class Hierarchy Diagram
In this section we will discuss about the class hierarchy of AclNotFoundException Class in Java. This class extends the java.lang.Exception class... Control List) which has no existence. Hierarchy of this class is shown
Java BadBinaryOpValueExpException Class Hierarchy Diagram
Java BadBinaryOpValueExpException Class Hierarchy Diagram In this section we will discuss about the BadBinaryOpValueExpException diagram in Java... uses this exception internally when query is evaluated. A class diagram
Java AWTException Class Hierarchy Diagram
Java AWTException Class Hierarchy Diagram In this section we will discuss about the class hierarchy of AWTException Class in Java. This class extends... exception. A Hierarchy diagram of this exception class is given below
Java AlreadyBoundException Class Hierarchy Diagram
Java AlreadyBoundException Class Hierarchy Diagram In this section we will discuss about the class hierarchy of AlreadyBoundException Class in Java... binding. A class hierarchy diagram is given below : Constructor Detail
Java ApplicationException Class Hierarchy Diagram
Java ApplicationException Class Hierarchy Diagram In this section we will discuss about the class hierarchy of ApplicationException Class in Java... the application level exceptions between ORBs and stubs. A class hierarchy diagram
Java ActivationException Class Hierarchy Diagram
Java ActivationException Class Hierarchy Diagram In this section we will discuss about the class hierarchy of ActivationException Class in Java. This class... this general exception. Class hierarchy diagram is given below : Constructor Detail
ER Diagram
ER Diagram  is there is any tool to draw ER diagram automatically ? (Like when i am connecting to Database i want to ER Diagram of That DB..i don't want to do it manually
Java Exception Class Hierarchy Diagram
class. The class Exception and its subclasses are defined in such a way that an application may generate a condition which might be caught. The Exception class extends the Throwable class. All errors and exception classes are the subclasses
E-R diagram
E-R diagram  Hi,Hw to do draw E-R diagram for online movie ticket booking
E-R diagram
E-R diagram  Hi,Hw to do draw E-R diagram for online movie ticket booking
UML Diagram - UML
UML Diagram  How I Can Draw my UML Diagram,my Project subject is Graphical Representation of Array Sorting(Bubble Sorting,Selection Sort,Merge Sort,Insertion Sort,Quick Sort) ,How I Can Draw UML diagram for this project. plz
Cubic Diagram In Java
diagram. The CubicCurve2D class also implements the shape interface. We are going... Cubic Diagram In Java     ... Cubic diagram. The Java2D API  provides you several classes that defines
Entity Relationship Diagram 3
Entity Relationship Diagram 3  Task 3 Activities: Identify all entities and attributes from the given scenario. Draw entity relationship diagram of the given from scenario. Determine primary key and foreign keys from given
GE Matrix Diagram
GE Matrix Diagram Developed by Mckinsey in the 1970s for General Electric, GE matrix diagram is used to identify the position of the strategic business... portfolio and product management. GE (General Electric) matrix diagram
Product Life Cycle Diagram
Product life cycle diagram is the graphical representation of four stages of a product life namely: Introduction, Growth, Maturity and Decline phase. Product... stages in the Product life cycle diagram indicates: Introduction
class
class  Is a class a subclass of itself
class
is a class to represent a country in medal tally. It has an attribute of country... medals. In this class, you should also define constructors, and assessor, mutator methods. Task 2 MedalTally.java is a class to model a medal tally, containing
Class
Class, Object and Methods       Class : Whatever we can see in this world all the things... is termed as a class. All the objects are direct interacted with its class
Green UML
class diagram from code, or to generate code by drawing a class diagram
Super class of an Exception class
Super class of an Exception class  hello,,, What is super class of an Exception class?   hii,, the super class of an exception is throwable class. and the super class of an throwable class is the object class
Class
Class       This section explores the concept of a class in reference to object oriented programming techniques. A class defines the properties of  objects and methods used
Explain final class, abstract class and super class.
Explain final class, abstract class and super class.  Explain final class, abstract class and super class.   Explain final class, abstract class and super class. A final class cannot be extended. A final class
.class and .tld
.class and .tld  how to create .class and .tld file
class loaders
class loaders   Explain static and dynamic class loaders
class file
class file  How to create class file in jsf easily
inner class
inner class  what is mean by inner class   Inner class is a non-static class which is defined inside another class
Node class
Node class   hii, What is a node class?   hello, A node class is a class that has added new services or functionality beyond the services inherited from its base class
Matrix Class
Matrix Class   A class to manage matrices and add them. Create in the driver class two objects of it and use the add method
Matrix Class
Matrix Class   A class to manage matrices and add them. Create in the driver class two objects of it and use the add method
lock on a class
lock on a class  hello, Can a lock be acquired on a class?   hiii,, Yes, a lock can be acquired on a class. This lock is acquired on the class's Class object
immutable class
immutable class  How to make a class immutable
Locale class
Locale class  What is the Locale class
singleton class
singleton class  What is singleton class
Abstract class
Abstract class  what is an Abstract class
printstrim class
printstrim class  discribe PrintStream class
wrapper class
wrapper class  wrapper class methods
Java class
Java class  What is the purpose of the Runtime class
Abstract class
Abstract class  Can an abstract class be final
printstrim class
printstrim class  discribe PrintStream class
Advertisements
 

 

 

DMCA.com