This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!