By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
463,069 Members | 567 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 463,069 IT Pros & Developers. It's quick & easy.

Explain this error pls error: class, interface,

P: 1 error: class, interface, or enum expected
void display(){
Oct 5 '18 #1
Share this Question
Share on Google+
1 Reply

P: 33
This error is a compile-time error which arises due to curly braces. Typically, this error occurs when there is an additional curly brace at the end of the program. so I think you have additional curly brace at the end of your program
4 Weeks Ago #2

Post your reply

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