• Post Reply Bookmark Topic Watch Topic
  • New Topic

calling another class  RSS feed

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
suppose if iam in a.java.iwant to execute b.class in this a.java
b bobj = new b();
bobj.set(); where set() is the method in b.class
and import that class in a.java.
i have done like this.
but is genarating errors in b saying ythat cannot resolve symbol.how can i solve this problem
 
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post complete code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!