Question about Operating Systems

1 Answer

Create a class called employee that includes three pieces of information as instance variable a first name, a last name and monthly salary. Your class should have a constructor that initializes the three instance variables. If the monthly salary is not positive, set it to 0.0. Write a test application named EmployeeTest that demonstrates class Employees capabilities. Create two Employee objects and display each objects yearly salary. Then give each Employee a 10% raise and display each Employees yearly salary again.

Posted by on

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Brigadier General:

    An expert that has over 10,000 points.

  • Master
  • 10,406 Answers

Nice try!
Find an upper-class student that can give one-on-one tutoring with your homework.

Posted on Dec 02, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

I am a salary member of petco.dayforce.com but in the last week I have not been able to get it to load on my home computer. It worked for the last 4 months but now it lets me log in and goes to the green...


You need to contact the software mfr and ask. Frequently, a Windows update patch may cause problems with software. (Yours won't be the first such call they've answered.) Try this first; on Win7 go to the Start>Search window and type in "cmd" without the quotes. A black smaller screen will open and show your Hard Drive name "C:\username" skip a space and type "cd C:\chkdsk/f" just as written without the quotation marks. Your PC will give you a note informing you that a Check Disc function will occur the very next time you turn "on" your PC. Shut "off" you PC and restart it and let the program run and detect and fix errors for you automatically. Then try to run your program. If it still doesn't work... reinstall it, shut off your PC and reboot (restart) it and try to use the program again. It this fails, call the software mfr for help.

Jan 04, 2015 | Operating Systems

1 Answer

Why do we need to declare variables?


Hi,
I'm assuming you are referring to declaring variables in Procedural programming languages such as Java. Variables need to be declared for several different reasons, some of which include helping the computer reserve space in memory for variables to be stored and it also plays a part in the various stages of converting the source code, i.e. the code that you type in VB or Java, into machine code which is a series of binary digits that the computer can actually understand. It helps the computer in debugging the code for errors. In the first stage of code conversion, lexical analysis, information about the variable names is stored. In the next stage, Syntax analysis, the code is checked to be grammatically correct according to the rules of Backus Naur Form, i.e. if a key word such as PRINT is typed in as PLINT the computer will treat this as a variable name and since no information about this variable name has been entered in the lexical analysis stage it knows that an error has been made.
Hope this helps!

Dec 11, 2010 | Operating Systems

1 Answer

I not insttal java in my computer


Just go to sun.com
download jdk latest version..okay
them install it ...
after it go system properties then advanced then environment variable then

create new named path and write value "C:\Program Files\Java\jdk1.6.0\bin;"

now set your class path as named class path and value
"C:\Program Files\Java\jdk1.6.0\bin;.;"


then your java will install.

To check whether java is installed ...open notepad and write javac and hit enter .....if it gives many options then your java is installed......okay

Aug 19, 2010 | Operating Systems

1 Answer

Where i can get software for C Programing language and what is the software name...........?


STEP 1 : Download the Borland Compiler
https://downloads.embarcadero.com/item/24778
STEP2 : Run the setup program
By default, it should install everything to C:\Borland\BCC55

STEP 3 : Add the /bin directory to the system PATH

>C:\Borland\BCC55\bin\bcc32 OR >c32

After the setup program is run (step 2), a whole bunch of executable programs are placed in a new directory : C:\Borland\BCC55\Bin. This step makes it possible for the Operating System (Windows) to find these new executables by name. If you don't do this, then you will need to specify the full path to bcc32 every time you use it.

To do this on Windows XP
Bring up the Environmental Variables :

•Right Click "My Computer" ( Depending on how your system is set-up, "My Computer" is either on your Desktop or in your Start Menu )
•Select "Properties"
•Activate the "Advanced" Tab
•Click the "Environmental Variables" Button
Append ";C:\Borland\BCC44\bin" to the PATH variable (figure 3-2)

•Select the PATH variable under User Variables
Note: The PATH variable may appear under both System Variables and User Variables. This How-To changes the User Variable.
•Click the EDIT button below the list
•In the "Edit User Variable" box that pops up, move the cursor to the end of the Variable Value field
•Add a semi-colon ";" to the end of the current value
Note: If the value is empty, then you do not need to add a semi-colon
•Add the path "C:\Borland\BCC55\bin" after the semi-colon
•"OK" your way out of the dialogs

STEP 4 : Set up some configuration files
you should create a configuration file for the bcc32 program that tells it where to find its libraries and include files.
•The file should be named bcc32.cfg
•It should be placed in the same bin directory where bcc32.exe is located
(C:\Borland\BCC55\Bin)
•The contents of the file are the command line options for bcc32 stating the location of include files and libraries:
-I"C:\Borland\BCC55\Include"
-L"C:\Borland\BCC55\Lib"
Regards,

Soul_srch007

Dec 06, 2009 | Microsoft Windows XP Professional

2 Answers

Please send me the code to link two forms of a project file...actually i wanted to to transfer a variable value from one form to another...please forward code as soon as possible


if this is vb 6 then you should be able to access the other variable by using the other forms name so if you are in form1 and want to access a variable in form2

form2.variable_name

and visa versa

If this is another language then it may differ

Apr 30, 2009 | Operating Systems

1 Answer

Step by step guide to installing sap on windows 2003


hi dear
SAP4.7 Installation On Server 2003 SAP 4.7 INSTALLATION GUIDE 1. CREATE C PARTITION 6GB AND D PARTITION 70GB. INSTALL O.S SERVER. SET SYSTEM YEAR TO 2010 OR 2. CREATE LOOPBACK ADAPTER. START→ SETTINGS→ CONTROL PANEL ADD OR REMOVE HARDWARE→ NEXT→ NEXT→ SELECT ADD ANEW DEVICE NEXT SELECT WANT TO SELECT THE HARDWARESELECT NETWORK ADAPTER SELECT MICROSOFT NEXT NEXT FINISH. 3. CREATE IP ADDRESS MY NETWORK PLACES LOCAL AREA CONNECTION RIGHT CLICK PROPERTIES SELECT INTERNET PROTOCOL (TCP/IP)ADDRESS CLICK ON PROPERTIES AND IN IP ADDRESS 200.200.200. 20 AND OK OK 4. VIRTUAL MEMORY MYCOMPUTER RIGHT CLICK PROPERTIES ADVANCED TAB CHANGE SELECT D DRIVE INITIAL SIZE 2000 MAXIMUM SIZE 2000 CLICK SETOK OK OK 5. COPY ALL THREE DVD IN D DRIVE. SEE THAT D DRIVEMUST HAVE ATLEAST 54-55 GB FREE SPACE. 6. JAVA 1.4 INSTALL [FROM DVD 1] JAVA 1.4 DOUBLE CLICK NEXT I ACCEPT NEXT NEXT NEXT FINISH. JAVA PATH MY COMPUTER RIGHT CLICK PROLPERTIES ADVANCED ENVIORNMENT VARIABLE [SYSTEMVARIABLES ] SELECT NEW VARIABLE NAME JAVA_HOME VARIABLE VALUE ----------- START RUN BROWSE SELECT DRIVE PROGRAM FILES ANDPASTE IN VARIABLE VALUE BOX {Enter Path of JAVA) OK OK OK . 7. ORACLE 8I INSTALL [FROM DVD 3 ] ORACLE 4 NT I386 SETUP ORACLE 8I NEXT NEXT NEXTGLOBAL DATABASE NAME ORA NEXT INSTALL FINISH [ OREXIT] 8. INSTALLATION . [FROM DVD 3] KER NT I386 NTPATCH R3 DLLN DOUBLE CLICK ON THIS PRESS OK. KER SAPINST NT SETUP. SAP 4.7 INSTALLATION SELECT THIS AND PRESS NEXT NEXT SYSTEM ID ----- GIVE ANY DIGIT ALPHABETS [EX: SAI] NEXT SELECT CENTRAL INTANCE NEXT NEXT SELECT LOCAL INSTALLATION NEXT NEXT SELECT C DRIVE NEXT ------- GIVE PASSWORD AS 123 IT WILL ASK TWO TIMES THATPASSWORD NEXT 9. AFTER INSTALLATION OF ABOVE STEP GO TO : \ RIGHT CLICK ON USR SHARING & SECURITY SHARETHE FOLDER IN SECURITY TAB TICK ALL ALLOW. GO TO PROGRAMS SAP INST ORACLE KERNEL CLICK ONPREPARE NEW INSTALLATION. THEN AGAIN GO TO PROGRAMS SAP INST ORACLE KERNEL CLICK ON SAPINST SERVE WITH GUI. AGAIN FOLLOWS THE STEP IN STEP 8 WITH THE FOLLOWINGCHANGES. SELECT DATABASE INSTANCE INSTEAD OF CENTRAL INSTANCE SELECT LOCAL INSTALLATION NEXT NEXT SELECT D DRIVE D DRIVE} FOR BOTH OPTIONS NEXT NEXT IN PACKAGE LOCATION GIVE THE ADDRESS OF DB1-----ETC. DB1 EXPORT 1 LABEL.ASC DB2 EXPORT 2 LABEL.ASC DB3 EXPORT 3 LABEL.ASC EXPORT 4 LABEL.ASC EXPORT 5 LABEL.ASC EXPORT 6 LABEL.ASC EXPORT 7 LABEL.ASC NEXT NEXT. SELECT THE OPTION NO MNLS REQUIRED AFTER THIS IT WILL TAKE 15 HRS FOR INSTALLATION. ITWILL SHOW SUCCESSFULLY INSTALLED. 10. GO TO GUI GUI WINDOWS WIN32 SETUP. ã NEXT NEXT SELECT ALL NEXT INSTALL. 11. AFTER THAT CLICK ON SAP LOGON IN THAT CLICK ONNEW ITEMS DESCRIPTION ANY NAME APPLICATION SERVER TO KNOW THISOPEN SAP MANAGEMENT CONSOLE, IN THAT CHECK THE NAME ABOVEPROCESS LIST AND FILL WITH THAT NAME. SYSTEM NUMBER 00 12. CLICK ON LOGON USER ID DDIC PASSWORD 19920706. THEN GO TO SU01 TRANSACTION. GIVE THE USER SAPUSER (this is the user name to logon to sap) THEN PRESS F8. GIVE ANY NAME IN LAST NAME INITIAL PASSWORD REPEAT PASSWORD. THEN CLICK THE TAB PROFILES GIVE SAP _ALL SAP_ NEW & THEN PRESS ENTER & SEE IT WILL ASK THE PASSWORD , THIS IS THE PASSWORD TOLOGON TO SAP, GIVE ANY PASSWORD AND LOG OFF. 13. AGAIN LOGIN TO SAP NEW ID & PASSWORD AND THEN GOTO SE38 AND CREATE A PROGRAM STARTING WITH LETTER IT WILL ASK FORACCESS KEY. IN THAT TYPE 366 87 66 322126 127 8 694. Thank you
Imrna
Pls rank me as possible have nice day

Apr 20, 2009 | Microsoft Windows Server Standard 2003 for...

1 Answer

How to write jdbc connections


http://www.jdbc-tutorial.com/

window.google_render_ad();

welcome_title_image.gif Java JDBC Tutorial Java JDBC Tutorial
The JDBC ( Java Database Connectivity) API defines interfaces and classes for writing database applications in Java by making database connections. Using JDBC you can send SQL, PL/SQL statements to almost any relational database. JDBC is a Java API for executing SQL statements and supports basic SQL functionality. It provides RDBMS access by allowing you to embed SQL inside Java code. Because Java can run on a thin client, applets embedded in Web pages can contain downloadable JDBC code to enable remote database access. You will learn how to create a table, insert values into it, query the table, retrieve results, and update the table with the help of a JDBC Program example.


window.google_render_ad();
Although JDBC was designed specifically to provide a Java interface to relational databases, you may find that you need to write Java code to access non-relational databases as well.
JDBC Architecture jdbc.jpg Java application calls the JDBC library. JDBC loads a driver which talks to the database. We can change database engines without changing database code.
JDBC Basics - Java Database Connectivity Steps Before you can create a java jdbc connection to the database, you must first import the
java.sql package.
import java.sql.*; The star ( * ) indicates that all of the classes in the package java.sql are to be imported.
1. Loading a database driver,
In this step of the jdbc connection process, we load the driver class by calling Class.forName() with the Driver class name as an argument. Once loaded, the Driver class creates an instance of itself. A client can connect to Database Server through JDBC Driver. Since most of the Database servers support ODBC driver therefore JDBC-ODBC Bridge driver is commonly used.
The return type of the Class.forName (String ClassName) method is “Class”. Class is a class in
java.lang package.
try { Class.forName(”sun.jdbc.odbc.JdbcOdbcDriver”); //Or any other driver } catch(Exception x){ System.out.println( “Unable to load the driver class!” ); } 2. Creating a oracle jdbc Connection

The JDBC DriverManager class defines objects which can connect Java applications to a JDBC driver. DriverManager is considered the backbone of JDBC architecture. DriverManager class manages the JDBC drivers that are installed on the system. Its getConnection() method is used to establish a connection to a database. It uses a username, password, and a jdbc url to establish a connection to the database and returns a connection object. A jdbc Connection represents a session/connection with a specific database. Within the context of a Connection, SQL, PL/SQL statements are executed and results are returned. An application can have one or more connections with a single database, or it can have many connections with different databases. A Connection object provides metadata i.e. information about the database, tables, and fields. It also contains methods to deal with transactions.
JDBC URL Syntax:: jdbc: <subprotocol>: <subname> JDBC URL Example:: jdbc: <subprotocol>: <subname>•Each driver

Feb 01, 2009 | Microsoft Windows XP Home Edition

2 Answers

Can I get the asswer for the below questions


A book shop maintains the inventory of books that are being sold at the shop. The list has details like author, title, price, publisher and stock position. Whenever a customer wants a book, the sales person inputs the title and author and the system searches the list and displays a suitable message if it is not available. If it is available, the system displays the book details and requests for the number of copies required. If the copies are available, the total cost of the copies requested is displayed, otherwise the message ‘copies not in stock’ is displayed.
Design a system using a class called BOOKS with suitable member functions and constructors. Use new operator in constructors to allocate required memory space.

Nov 16, 2008 | Operating Systems

1 Answer

Schema classes and attributes


Every directory object you create is an instance of an object class contained in the schema. Each object class contains a list of associated attributes that determine the information the object can contain. Classes and attributes are defined independently, so that a single attribute can be associated with multiple classes. All schema classes and attributes are defined by the classSchema and attributeSchema objects, respectively.

Classes

ClassSchema objects are used to define classes in the schema. A classSchema object provides the template for building directory objects of that class. Examples of classSchema include User and Server. A classSchema object contains, among other things, the following information:
Class type (structural, abstract, or auxiliary)

Common name and Lightweight Directory Access Protocol (LDAP) display name

Lists of the "must contain" and "may contain" attributes for instances of the object

Relative distinguished name attribute

A list of possible parent classes

Class types

Three different types of classes exist in the schema:Class type Purpose

Structural
Used to instantiate objects (users, servers and so on) in the directory.

Abstract
Provides templates for deriving structural classes

Auxiliary
Contains predefined lists of attributes that can be included in structural and abstract classes

Attributes

AttributeSchema objects are used to define attributes in the schema. An attributeSchema object determines the allowable contents and syntax for instances of that attribute in the directory. Examples of attributeSchema include User-Principal-Name and Telex-Number. An attributeSchema object contains, among other things, the following information:•
Common name and LDAP display name

Syntax rules

Data constraints (single versus multivalued, minimum, and maximum values)

Whether and how the attribute is indexed

Jul 17, 2008 | Microsoft Windows Server Standard 2003 for...

2 Answers

C++ program


how to generate palindrome numbers through C++

Mar 21, 2008 | Operating Systems

Not finding what you are looking for?
Operating Systems Logo

Related Topics:

750 people viewed this question

Ask a Question

Usually answered in minutes!

Top Operating Systems Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18299 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Prashant  Sharma
Prashant Sharma

Level 3 Expert

1127 Answers

Are you an Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...