473,473 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

<Identifier> expected ---> What does this mean???

66 New Member
I am still pretty new to programming, and I sometimes can not figure something out. I am getting an error with this line in my program:

Public void count_syllables(int count_syllables)

I get the error <identifier expected>. What does this mean. I can not seem to make it go away!?
Oct 11 '07 #1
4 44451
CodeTilYaDrop
66 New Member
If you can't tell me how to fix it, could you please let me know what the <identifier> error means in layman's terms. The definition I found does not seem to shed any light on it for me.
Oct 11 '07 #2
Ganon11
3,652 Recognized Expert Specialist
First, the keyword Public does not exist in Java. You want the keyword public (note the case difference).

If this doesn't fix your error, check your curly braces before this line - it is likely you are missing a } for one of your {'s.
Oct 11 '07 #3
CodeTilYaDrop
66 New Member
Thanks Ganon11! This solved my issue with that line! I noticed the public the next time I looked at it, and it still gave me the error! It was the braces that messed me up! The braces get me every once in a while still!! Problem Solved
Oct 12 '07 #4
purna
1 New Member
Iam still new to programming, and I sometimes can not figure something out. I am getting an error with this line in my program:
class.forName (driverClassName);
iam getting the error as <identifer>excepted and below this sourrond with
what does this mean?
how can i solve this problem
plz help me
Jul 22 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Paul | last post by:
Hello, I am a beginner programmer in Visual C++ 6 and have encountered a problem. I am trying to read from a text file in the following manner: .... ifstream mystream; mystream.open...
13
by: Paul | last post by:
Hello: I read the FAQ about embedding HTML code in a Javascript. I have used the "<\/tag>" format to get around validator problems. Now the <NOSCRIPT> block is failing with error #65: 1. ...
10
by: Dieter Salath? | last post by:
Hi, in our webpage, a user could open a windows explorer to his temp directory with a simple link and usage of the file protocol: <a href="file://C:\temp" target="_blank">C:\temp</a> This...
7
by: TLM | last post by:
I am trying to build a web application that will contain links to files on a users local computer. I am assuming that the files will be in a known location and can display in a browser window. ...
5
by: Silvio Matthes | last post by:
Hello, I'm new to the list and did not find a suitable answer to my question so here it is: I try to select the rows of a table where the content of a varchar-column is empty ('') and...
4
by: Jon | last post by:
Hi, I used XslCompiledTransform with the following Xsl file. The <xsl:text disable-output-escaping="yes"does not work when using XslCompiledTransform to do the trnasform (namely the output...
9
by: plusk1008 | last post by:
I have finals next week and I am stuck on one question on my review sheet for excel. So once again I beg: Please, please, please, please, please, please, please, please, please, please someone help...
5
by: Agix | last post by:
Hi there, Please check out : http://clarifysolutions.co.uk/certenroll/ The source is included below. This page is a test, so I can play about with paddings, margins and layouts using divs as...
1
by: Monica Pnade | last post by:
what does /^/ mean in perl?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.