2 Answers - Sort by: Date | Rating
No, but if you are going to build a program that is more than just a simple little thing with one or two classes, then you will find it helpful. The more classes, the more likely UML will help.
Java is an object orientated language. Designing a program before you attempt to write it is quite simply the only way you can expect to succeed. Too many novice programmers just jump straight in and start coding, with little or no idea of the expected structure of the program.
The standard way to design an object orientated program is to use the unified modelling language. This is a set of diagrams which illustrate various ways in which the objects in the program communicate with each other. There are many types of diagram, but there is no need to draw every single one to design your program.
With a good design laid out on paper, coding the program suddenly becomes quite straight forward. Several of the diagrams include terms that are really just pseudocode, but laid out in a systematic way. Only a fool would attempt to create a complex program without some sort of a design, so uml diagrams are a must.
Java is an object orientated language. Designing a program before you attempt to write it is quite simply the only way you can expect to succeed. Too many novice programmers just jump straight in and start coding, with little or no idea of the expected structure of the program.
The standard way to design an object orientated program is to use the unified modelling language. This is a set of diagrams which illustrate various ways in which the objects in the program communicate with each other. There are many types of diagram, but there is no need to draw every single one to design your program.
With a good design laid out on paper, coding the program suddenly becomes quite straight forward. Several of the diagrams include terms that are really just pseudocode, but laid out in a systematic way. Only a fool would attempt to create a complex program without some sort of a design, so uml diagrams are a must.
1
0
Well... If you are working with a group, you need to model the program you are going to do. UML is not a programming language, and it is not mandatory. If you don't have much experience or don't feel that you will tackle the concept at once, still you need to go for a modeling language. UML is the best. If you are working with a group, you need to stick to the standards. But actually who makes the standards. I don't think a wrong, changing standards if working on a small project with a small team. If I'm doing it alone, if I feel that I can tackle without paper and pen, I directly start coding. But when there is a small trouble, then I need to draw a diagram to solve it. UML is a set of guidelines to draw such diagrams. Not only for Java, whatever programming language you use, it is healthy to use some diagrams to design before you go for coding, especially with a group of people; then it is easier to understand what he/she really means.
0
0
- How To Get Java On My Lg 260?
- Write A Java Program To Store A Number Find If It Is Positive Or A Negative Number If Positive Print I Am The First?
- How To Update The Sim 3 Expansion?
- What Is An Attribute In Java?
- Do I Have To Write A Main Method In Every Class I Create?
- What How The Step For Make Library Management?
- In Which Process We Can Start Java?
- Define The Concept Of Java Byte Code?
- How To Run Remote Method Invocation In More Machine?
- How To Run Java Remote Method Invocation In More Machine?
- How To Make A Java Program That Will Ask The User To Input A Number And Display All The Even Number And The Sum Of All Even Numbers Based On The Inputted/ Given Numbers?
- Is A Static Variable An Instance?
- How To Compile And Run Java Package?
- What Does Literati-on Mean?
- What Is Abstract Class In Details?
- What Is Meant By Remote Method Invocation In Java?
- What Is Meant By Servlet In Java?
- What Is Latest Technologies In Java?
- Write A Program Using Do…..while Loop To Calculate And Print The First M Fibonacci Numbers?
- What Is The Difference Between Reference &instance Variable?
- Why Java Is Slow?
- What Is The Drawback Of Ms Access?
- What Is Replaced In Place Of Pointers In Java?
- What Replaces Pointers In Java?
- How Many Types We Create Object In Java?
- Is Java The Best Programming Language?
- Which Is The Best Programming Language, JAVA Or .NET?
- Is Java A Compiled Programming Language Or Interpreted Language?
- I Want To Know Reasons Why Java Programming Language Is So Popular?
- Why Is Java Called Object Oriented Programming Language?
- Which Programming Language Among Java And VB/C#(.net) Is The Best For Learning And Earning?

New Comment - Comments are editable for 5 min.