Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to practice..  RSS feed

 
praveen kumaar
Ranch Hand
Posts: 461
22
Android Chrome Eclipse IDE Google App Engine Java Notepad Oracle Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have read the book head first java and somehow i want to practice the things i learnt..
please help
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Best way is to write code.

Start of small. Evaluate what you wrote. Is it OOP? Can there be a better refactoring? Am I following single responsibility principal? Is abstraction possible?
Modify to increase complexity. Repeat.

You can pick any real life problem. e.g. A building has one 2 lifts. Design the controller to ensure any person trying to board the lift has to wait a minimum amount of time.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!