This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

interface in java  RSS feed

 
Karthik Soundararajan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends/seniors
I am doing my second year B.E and I am new to java plese any body help me to how to create an Interface And implement in a class please explain me with an example codes

thanks and regards
karthik
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a servlet question, moving to the Java in general (beginner) forum.

Dave
 
Stuart Ash
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Karthik Soundararajan:
Hello friends/seniors
I am doing my second year B.E and I am new to java plese any body help me to how to create an Interface And implement in a class please explain me with an example codes

thanks and regards
karthik


Welcome to Java, and the Ranch. Try this:

Try this. Once you've learned the basics, you can to stuff like creating and implementing an interface. You'll reach that stage as you go on reading your courseware.
 
Dianne Gerrelli
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not really sure what you are looking for when you say "create an Interface And implement in a class", but I am try to write a programme designed to implement an interface called ThingBeingSimulated. You may therefore like to take a look at the thread "programming to the interface"

Best wishes
Dianne Gerrelli
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!