• Post Reply Bookmark Topic Watch Topic
  • New Topic

Interface & instanceof operator

 
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!