Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

program to interface principle

 
Maddison
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, just wondering if anyone could expand on the 'program to an interface' principle.

From what i've read it's about controlling dependencies....umm and perhaps a way to do this is to use interfaces??

sorry couldn't find much out there.
 
Michael Dunn
Ranch Hand
Posts: 4632
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15438
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nerd Gerl, is your name really "Nerd Gerl"? Did you read the JavaRanch official policy on registered names?
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See The FAQ, too. Probably a friendlier place to start.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic