15,880,905 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
Use my saved
content filters
please i need this solution in two days time can Anybody help me regarding this?
Ask a Question
All
Questions
All
Unanswered
FAQ
ZulqarnainVU asked:
Open original thread
Instructions
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit if:
o The assignment is submitted after due date.
o The submitted assignment does not open or file corrupt.
o The assignment is full or partially copied from (other student or ditto copy from handouts or internet).
o Student ID is not mentioned in the assignment File or name of file is other than student ID.
o The assignment is not submitted .java format.
Uploading instructions
Your submission must include:
1. All the source code (.java files) and other if necessary files to compile and run your program.
2. If and only if there are multiple files to submit, place all the files in a Zip file and Upload it on VULMS else only source code file is required to be submitted.
Note: Use Notepad or Notepad++ for coding and JDK package for java source code compilation and running (A video tutorial of JDK installation and configuration is given in course download section)
Objective
The objective of this assignment is
o To give you some practice exercise of file handling and understanding use of it in java console programs.
Important Requirements and Instructions:
1. You are not allowed to use any IDE tool like Netbeans in this assignment.
2. Use text file (students.txt) attached with assignment file. Your code should work with given attached text file.
3. Use text file and java files in same directory.
4. Create Student.java which will contain student information (name, roll number, class, phone number and program).
5. Create Driver.java file which will read data from text file and show in tabular form (see output screen shot).
6. Complete all requirements given in output screen shot.
7. Assignment due date is November 08, 2012. Extra grace day (November 09, 2012) is only if last date has any problem (like server gets down or files not uploading). Any lame excuses will not be accepted after due date.
8. We will not accept assignment through email in any case. Be Careful
Question:
You have to develop a simple console base application, which reads the students records from “students.txt” file and displays each student’s information in form of table. The program should also count and display the number of alphabets, spaces, integers, words, characters and lines from the file in tabular form
Hints:
To manage student information use Student class.
To store multiple students record use ArrayList.
Tags:
Java, Application, Console
Quote Selected Text
B
I
U
S
small
BIG
code
Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML
var
<
>
&
link
[^]
encode
untab
case
indent
outdent
OK
Paste as
Strip HTML
Encode HTML
Paste as-is
Code block
Quoted Text
Best guess
To display as
Treat my content as plain text, not as HTML
Preview
0
…
Existing Members
Sign in to your account
...or Join us
Download, Vote, Comment, Publish.
Your Email
Password
Forgot your password?
Your Email
This email is in use. Do you need your
password
?
Optional Password
I have read and agree to the
Terms of Service
and
Privacy Policy
Please subscribe me to the CodeProject newsletters
Cancel
Submit your solution
When answering a question please:
Read the question carefully.
Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or
edit the question
and fix the problem. Insults are not welcome.
Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the
http://www.codeproject.com/info/cpol10.aspx
.
CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900