| Author |
implement Java Programming logics
|
Subhash Pavuskar
Ranch Hand
Joined: Jun 29, 2011
Posts: 57
|
|
|
Can anyone share me the ideas That How can i implement Java Programming logics ?
|
 |
John Jai
Bartender
Joined: May 31, 2011
Posts: 1778
|
|
|
Java language has programming constructs that you can use to implement your custom required logic... i am unaware of any Java Programming Logic.. is the question intended to any Java language specific construct?
|
 |
Subhash Pavuskar
Ranch Hand
Joined: Jun 29, 2011
Posts: 57
|
|
|
Yes John its Java language specific construct only.
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12929
|
|
|
What do you mean by "Java Programming logics"?
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Subhash Pavuskar
Ranch Hand
Joined: Jun 29, 2011
Posts: 57
|
|
@Jesper de Jong : i Meant i am not getting when and where should i apply proper Java Concept like constructor, polymorphism n all.... during project implementation ..
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12929
|
|
Your question is very general and vague. This makes it hard to give you a clear and specific answer.
A constructor is a block of code in a class that is called to initialize a new instance of the class. See Providing Constructors for Your Classes for more information. Polymorphism is an important principle in object oriented programming.
Learning to apply object oriented programming concepts comes with experience. Ofcourse there are also books about this subject. One good book is Effective Java, but there are also others - search for books on object oriented analysis and design.
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32708
|
|
I don't understand why you feel the need to ask such a question.
You should implement proper coding whenever you want a proper project. You can omit proper coding when you want to write rubbish. And assuming you never want to write rubbish, you want proper coding all the time. For example, you should write a constructor for every class you write. Even for classes you don't want to instantiate.
|
 |
Ove Lindström
Ranch Hand
Joined: Mar 10, 2008
Posts: 326
|
|
Subhash Pavuskar wrote:@Jesper de Jong : i Meant i am not getting when and where should i apply proper Java Concept like constructor, polymorphism n all.... during project implementation ..
When needed... ;)
|
 |
 |
|
|
subject: implement Java Programming logics
|
|
|