Results 1 to 4 of 4
Thread: Java code giving error
- 11-10-2010, 09:47 AM #1
Member
- Join Date
- Nov 2010
- Posts
- 16
- Rep Power
- 0
Java code giving error
Hi Mates
I am getting error in the code below at line 8. error is
')' expected at line 8 .i am using JBuilder editor.
the dycryptedkey() method returns a boolean value and takes 3 arguments as shown
i have all these variables decleared in the class
can you tell me what can be the problem.
1.public void testing() throws ParseException
2. {
3 this.bb=bb ;
4 this.period=licfor;
5 this.lickey=key;
6 this.clientname =name;
7 loc=new LicClient();
8 bb=loc.dycryptedKey(String key , String name, int licfor);
9 if (bb == false)
10 {
11 System.out.println(bb);
12 }else { System.exit(0);
13 }
14 }
- 11-10-2010, 10:04 AM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
- 11-10-2010, 07:09 PM #3
Member
- Join Date
- Nov 2010
- Posts
- 16
- Rep Power
- 0
types of parameters
the loc.dycryptedKey(String key , String name, int licfor); method returns the boolean type and takes 3 arguments (string ,string and int ).
period,clientname and lickey are int,string and string types and are declared in the class.
- 11-10-2010, 07:11 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
Java code error!~ Please help
By socboy6579 in forum New To JavaReplies: 1Last Post: 10-15-2010, 03:47 AM -
MidletSample program giving java/lang/ClassFormatError: Bad version informatan error
By madhuchannama in forum Sun Java Wireless ToolkitReplies: 1Last Post: 07-23-2010, 02:42 PM -
Pls check why my code is giving a runtime error
By Beginner in forum New To JavaReplies: 3Last Post: 05-26-2010, 12:32 AM -
giving missing return statement error.due to withdraw method.
By qadeer37 in forum New To JavaReplies: 5Last Post: 01-16-2010, 11:14 PM -
Giving Inputs to Java Applet
By rasikh in forum Java AppletsReplies: 2Last Post: 10-05-2009, 03:08 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks