• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to start development of java application practically using OOP principles?  RSS feed

 
Matloob Hussain
Ranch Hand
Posts: 37
Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have few interviews for java developer. They gave me the
question, to write the java application by using java principles.
My interest is; How to start to develope a java application by using OOP principles?
Is there any java book or any other source with examples of how to start development of java application practically?

Thanks

Kind regards,
Matloob
 
Campbell Ritchie
Marshal
Posts: 56562
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What did you say? Did you go on about development by refinement, about UML, about pseudo-code, and all that?
 
Matloob Hussain
Ranch Hand
Posts: 37
Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for reply.
Yes, I mean all that.
My question is when and where we should use principles of OOP? --> abstraction, ploymorphism, inheritance and encapsulation
I know how to implement these as code wise but when we use all these features then how do we put all these together practically? In which sequence we should use these one?
 
Campbell Ritchie
Marshal
Posts: 56562
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That seems a strange request. Do you mean how would you explain how to use object‑orientation?
I presume you know about specifications and working out the classes from the specification already.
 
Matloob Hussain
Ranch Hand
Posts: 37
Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I studied these principles one by one and used in examples seperately. Is there any book or other source in which all these concepts used in one application as an example?
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Almost every J2EE application (and maybe J2SE) uses these principles.

As for your application, what is it?

There are many many patterns out there that fit certain needs and even overlap.

You need to know the problem, before you can design the solution.


WP
 
Campbell Ritchie
Marshal
Posts: 56562
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first book which springs to mind is Code Complete by Stephen McConnell, which doesn’t come up this link. But other books which might help do.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!