Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Interface & instanceof operator  RSS feed

 
Devang Ganatra
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used following code
interface A
{
void B();

}
class Sample
{

int i=5;

}
class Samplemain
{



}
 
Anubhav Anand
Ranch Hand
Posts: 341
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Devang Ganatra,
welcome to JavaRanch.

Seems you missed your query while posting.
Please rectify and repost, we'll be happy to assist you.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!