Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

implement Java Programming logics

 
Subhash Pavuskar
Ranch Hand
Posts: 57
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone share me the ideas That How can i implement Java Programming logics ?
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 57
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes John its Java language specific construct only.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15369
40
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "Java Programming logics"?
 
Subhash Pavuskar
Ranch Hand
Posts: 57
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@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
Saloon Keeper
Pie
Posts: 15369
40
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 49457
64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 326
Android Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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... ;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic