15,901,205 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Priyanshu Patel (Top 6 by date)
Priyanshu Patel
16-Aug-16 11:31am
View
Yep, Thanks a lot for the help.
Priyanshu Patel
12-Aug-16 20:58pm
View
I can't include that code in view of mvc
Priyanshu Patel
10-Aug-16 17:03pm
View
Sounds Perfect. But how can i create a more prescriptive primary key to ensure record uniqueness or change the data I am saving.
Priyanshu Patel
24-Jul-16 16:53pm
View
I wanted to print user input which is stored in an array.
Priyanshu Patel
24-Jul-16 16:47pm
View
Hi, I really appreciate your prompt response, I am really new to java so I am having more problems with this.
Priyanshu Patel
24-Jul-16 16:24pm
View
Well, these are the errors
----jGRASP exec: javac -g Chef.java
Chef.java:1: error: Chef is not abstract and does not override abstract method printSkills(String[]) in Skills
public class Chef extends Person implements Skills
^
Chef.java:8: error: cannot reference first before supertype constructor has been called
super(first);
^
Chef.java:8: error: constructor Person in class Person cannot be applied to given types;
super(first);
^
required: String,String
found: String
reason: actual and formal argument lists differ in length
Chef.java:9: error: call to super must be first statement in constructor
super(last);
^
Chef.java:22: error: non-static method toString() cannot be referenced from a static context
Chef.toString();
^
Chef.java:27: error: cannot find symbol
Scanner reader = new Scanner(System.in);
^
symbol: class Scanner
location: class Chef
Chef.java:27: error: cannot find symbol
Scanner reader = new Scanner(System.in);
^
symbol: class Scanner
location: class Chef
Chef.java:29: error: variable n is already defined in method createSkills(String[])
String n = reader.nextLine();
^
Chef.java:30: error: incompatible types: unexpected return value
return(n);
^
Chef.java:30: error: incompatible types: String cannot be converted to void
return(n);
Chef.java:35: error: cannot find symbol
String arr[]=new String[n];
^
symbol: variable n
location: class Chef
Chef.java:36: error: cannot find symbol
for(int i=0; i
Show More