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...

Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Satyam Interview Questions
Questions Answers Views Company eMail

what is Regresstion testing? when it will be needed?

19 29410

Where are the expected results file will be stored? what is the extension of that?

1 11022

Give the syntax of Inner,outer Join?"

7 34962

How do you copy the script from source alert?

2 7981

Can you create a field without data element domain?

9 35525

What is the Difference Between basic list and interactive list?

5 11453

tell me about status codes?

2 12118

what are the fields in BDC Data?

5 17909

how you identify errors in call tr?

2 8582

what is Tcode for Basic ALE configuration?

2 8712

what are the stpes in ALE?

2 9184

Suppose in the Report Program I want to pass data to another Report Program ..how will you do that one?

4 12241

How you prepare documentation?

2 13603

what is web server?

3 25686

Write a program to reverse a linked list?

8 20891

Post New Satyam Interview Questions


Satyam Interview Questions


Un-Answered Questions

What is the indent key?

1040


What is enterprise data warehousing?

1049


What is the purpose of on error resume next statement?

995


What are accessor methods in java?

1016


How to check whether a form posted or not in the zend framework?

180


How to load excel data sheet to oracle database

1024


vat on liquor vat on food ? vat on bevrages ? vat on tobaco? vat on gold?

2222


What is the difference between general competition and exact competition.

901


Does sap transportation management come bundled with geographical information systems (gis) capabilities? : transportation management

1005


Which certification is best for python?

871


What is into in linq?

118


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 use of volatile variable?

1089


What is the default timeout period while calling webservice from apex.

526


Is html and css coding?

663