Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Topic :: Data





Data Interview Questions
Questions Answers Views Company eMail

what is the signification difference of this bit data type between sql 6.5 and later version sql server?

1 3735

To which class you load XML or Related Data

1 3154

what is data base testing, explain with example

4 15715

how can i connect to ms-access database, with ASP??

1942

Read data from console and print in one file. That would be in C:\temp ? Thanks, Bose

Oracle, Surya Software,

3 8113

what do you mean by data abstraction?

3 9122

how to convert Dataset to Object Array or list in c# .net

4 28991

how to retrieve binary data from database (using c#.net and sql server/windows application)

Soltius,

2 9507

If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job

UST,

4 10057

Where will the deleted data stored when the Recycle Bin is full ?

1 4320

Why the data input flectuation occurs when you are online?

2587

The following program reads data (details of students) from a file named students.txt and converts it into e-mail addresses. The results are written to a file named studentemail.txt. students.txt consists of a number of lines, each containing the data of a student in colon delimited format: Last Name:First Name:Student Number Each input record is converted to an e-mail address and written to studentemail.txt in the following format: the first character of the last name + the first character of the first name + the last four digits of the student number + “@myunisa.ac.za” import java.io.*; public class EmailConverter { public static void main(String[] args) throws IOException { BufferedReader input = new BufferedReader(new FileReader ("students.txt")); PrintWriter output = new PrintWriter(new FileWriter ("studentemail.txt")); String line = input.readLine(); while (line != null) { // Extract the information for each student String[] items = line.split(":"); // Generate the email address String email = "" + items[0].charAt(0) + items[1].charAt(0) + items[2].substring(4,8) + "@myunisa.ac.za"; email = email.toLowerCase(); // Output output.println(email); line = input.readLine(); } input.close(); output.close(); } } Rewrite the class so that it handles possible errors that may occur. In particular, it should do the following: • It should catch at least three appropriate exceptions that might occur, and display suitable messages. • At this stage, the program will not run correctly if there is an empty line in the input file. Change the program so that if an empty line is encountered, an exception is thrown and the empty line is ignored. This exception should be handled with the display of a suitable error message. • Before the e-mail address is added to the output file, check if the student number has 8 digits. If not, throw an InvalidFormatException (which the program should not handle itself)

1947

What is the difference between DataInputStream and BufferedReader

Hexagon,

2 12667

Hi, I need to know anything and everything abt datamarts and thier behaviours. Please suggest any links/whitepapers/articles which explain datamarts from scratch. This is required for my admin job at hand. Appreciate your help :)

1961

How to get an image from db2 database plz help as soon as possible

1 4954




Related Topics


Un-Answered Questions { Data }

Can we install Oracle database in VT100 Server?

2397


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3898


How to connect to a remote database using Applet?

2546


How database connectivity in XML is achieved?

2242


How data can be inserted into long row column of database?

2147


How to know howmuch data is truncated?

2369


What are the parameters available in user exit for enhancing master data?

1964


What are the data target administration tasks?

2311


Where the data is extracted during init of delta and during delta updates?

2006


How do you transform OH data?

1920


How will you do data driven testing using Robot?

2549


Where the datapool values are stored?

2455


What is datapool cursor?

2308


What is standard data type and what is user defined data type?

2352


What information is contained in the Datapool_config section?

2193