aspose file tools*
The moose likes Java in General and the fly likes implement Java Programming logics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "implement Java Programming logics" Watch "implement Java Programming logics" New topic
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: 1776
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
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14337
    
  22

What do you mean by "Java Programming logics"?


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
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
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14337
    
  22

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: 39755
    
  28
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... ;)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: implement Java Programming logics