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

Could you explain this?

 
Robby Ames
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Report post to moderator

The above code gives error!!
BUT

The code below runs smoothly!!

WHY??
 
Tony Docherty
Bartender
Posts: 2969
59
  • Mark post as helpful
  • send pies
  • Report post to moderator
Mathew Brown already answered your question in the original thread http://www.coderanch.com/t/600404/java/java/Java-Interface#2739537
 
    Bookmark Topic Watch Topic
  • New Topic