• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to execute these methods in this Java program ?  RSS feed

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is mentioned in the problem to realize the UML diagram ( attached as screenshot ) as Java code and also implement the methods in DTHService.java

Package.java





NormalPackage.java



SpecialPackage.java




Channel.java




Category.java




Owner.java




DTHService.java




Demo.java
//Demo.java has main method and all values are to be assigned in this main method , the other methods are also to be invoked from the main method



I want to learn how to implement the methods in DTHService.java
snipping-tool-capture.JPG
[Thumbnail for snipping-tool-capture.JPG]
 
Marshal
Posts: 56608
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We don't supply complete solutions, but will help you work out things for yourself. What are those methods supposed to do? If you write that sort of thing down, you will have an idea how to implement those methods.
Why have you got public fields in some classes?
Don't even think of fields called o or p; you can tell how bad that is simply by looking at the set and get methods.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!