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

Boss Global Interview Questions
Questions Answers Views Company eMail

why do you left your previous job?

42 90883

how many bytes timestamp token occupies?

6 15687

How to calculate cement and sand quantities in cement mortar As 1:1,1:2,1:4,1:6 ?

15 203976

Post New Boss Global Interview Questions




Un-Answered Questions

Explain the difference between dcs & plc & scada?

1052


Differentiate between Baseband co-axial cable and broad band coaxial cable

1526


Mention the steps to create an action in blue prism and publish it.

387


What is the purpose of sum statement?

1001


How to implement RMI in Java?

2879


Explain how to run test classes in Maven?

226


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 run level 1?

1059


How to build the React app for production?

424


What is the purpose of @conversion annotation annotation?

1277


You are a project manager for a documentary film company. In light of a recent national tragedy, the company president wants to get a new documentary on the rescue efforts of the heroic firefighters to air as soon as possible. She's looking to you to make this documentary the best that's ever been produced in the history of this company. She guarantees you free rein to use whatever resources you need to get this project done quickly. However, the best photographer in the company is currently working on another assignment. Which of the following is true? A. The primary constraint is time because the president wants the film done quickly. She told you to get it to air as soon as possible. B. Resources are the primary constraint. Even though the president has given you free rein on resource use, you assume she didn't mean those actively assigned to projects. C. The schedule is the primary constraint. Even though the president has given you free rein on resource use, you assume she didn’t mean those actively assigned to projects. The photographer won’t be finished for another three weeks on his current assignment, so schedule adjustments will have to be made. D. The primary constraint is quality because the president wants this to be the best film ever produced by this company. She's given you free rein to use whatever resources needed to get the job done.

1106


1. What is coefficient use for calculation of shuttering. 2. What is coefficient use for calculation of reinforcement in one cum of concrete.

8137


Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2584


How to compare array with pointer in c?

1113


How do you display xml with xslt?

936