Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Have Programming Question? Ask it here!
 
 
 


Heather Jones
Prompt
0 Answer(s)      3 years and 6 months ago
Posted in : Java Beginners


I have a program that is asking for user input. It is divided into methods in the method asking for the input it uses a prompt command that I've never seen.

public static int getInput(numberOfGrades)
{
    System.out.print(**prompt**    + ' ');
     return numberOfGrades
}

I don't undersant the prompt part.


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Prompt
into methods in the method asking for the input it uses a prompt command...) { System.out.print(**prompt** + ' '); return numberOfGrades } I don't undersant the prompt part
prompt using
prompt using  I want examples to use prompt and how to move the item from the prompt to a cell in a table. thank you
Advertisements
using prompt
using prompt  how to use prompt
What is a prompt box?
What is a prompt box?  What is a prompt box
javascript prompt alert
javascript prompt alert   Sending a prompt alert using a JavaScript function
javascript for prompt - JSP-Servlet
javascript for prompt  Dear sir, I have used prompt() for taking a reason while deleting using java script its working fine but prompt was coming at the top left so i want that prompt should come at middle so how to do
javascript for prompt - JSP-Servlet
javascript for prompt  Dear Sir, I am using a prompt() for taking... a prompt contains any special character or what.If contains a alert message has... then that prompt was not coming..So please tel me how to validate a prompt
Command Prompt in UI
Command Prompt in UI  Hi, Is there any API or JAR file for running all the windows command prompt commands like dir,echo,ping commands? If any please tell me what is it? Thanks & Regards---Vanchinathan.R
command prompt is compilation is not working
command prompt is compilation is not working   Dear java users can anyone help me to run the program in command line prompt i tried by selecting... helloworld through command prompt class not found error and class loader not able
javascript for prompt - JSP-Servlet
javascript for prompt  Dear sir, I am using prompt()for taking a reason from vendor . var reason=prompt('Reason for deleting:',''); Then i... an object ,so how to remove this script error.And also this prompt is coming
Command Prompt in UI
Command Prompt in UI  Hi One Help... Please go through. I want to develop like that using jsp/javascript but nothing is striking in mind... Please give some suggestions to design first Thanks in advance---- Vanchinathan.R
How to prompt user
How to prompt user  Dear Sir, I'm a new student, a beginner in Java. Pls help to write program as below :- a)to prompt user to input 2 integers, the 1st number entered as Digit 1 and 2nd number as Digit 2. b)Display the value
Prompt for a password when deleting a data
Prompt for a password when deleting a data  I am using netbeans and mysql. i have added a username and password. i have a set of data in the database. so when deleting a data it should prompt for the password and if the password
run command prompt from jsp program
run command prompt from jsp program  Hi.... Is it possible to run a command prompt from jsp? If possible please help me with some code... Thanks & Regards vanchinathan.R
Excel Prompt User on Focus
Excel Prompt User on Focus In this section, you will learn how to prompt user on focusing the cell using Apache POI. EXAMPLE In the below example, you will learn how to prompt user on focusing the cell. Here, the message title
javascript for textbox or prompt using servlet - JSP-Servlet
javascript for textbox or prompt using servlet  Dear sir, I am using a prompt(),when a delete is confirmed,its working fine ,but when a prompt is closed or cancel ,i have to remain in the same page but here it is going
javascript for textbox or prompt using servlet - JSP-Servlet
javascript for textbox or prompt using servlet  Dear sir I am writing script in servlet,so prompt() is not working here so please help me...\"){"); out.println(" var reason=prompt('Reason for deleting
Damn Small Linux 2.3 RC1 has been released now
Damn Small Linux 2.3 RC1 has been released now New check and prompt to save APSFILTER printer setup; new check and prompt to save wireless setup; new MyDSL is now a separate menu via a Fluxbox [include]; new prompt when keyboard
Java error java.lang.noclassdeffounderror
on the command prompt during the execution or running of the program. Understand... This is used to read a number printed on the command prompt. On command prompt if the programmer mistakenly 
Traverse JTree Example
and its node .Teaches, displaying the node and its path on the command prompt... of this program: After click tree node the command prompt will dispaly: 
How to run a Java program in CMD
in command prompt.  Create a myproject folder in C folder Open... to the Start Menu and open the command prompt. Change the directory from c to C:\myproject. To change the directory type the given command in your command prompt
Displaying Hierarchical data in JTree
it is also displayed on the command prompt. Program Description: The following program... prompt. C:\javaswing>javac DisplayingJTreeData.java
Using Ant to execute class file
Using Ant to execute class file       This build.xml file is used to compile and run the java file and print the value on command prompt. Here we are using five
Eclipse IDE
at the command prompt window.       Starting
C file read example
C file read example       This section demonstrates you to read a line from the file. You can see in the given example, we prompt the user to enter the name of the file to read
Java get User Input
the command prompt. We are providing you a java application... prompt the user to enter the name by using System.out.print() method to keep
Add Two Numbers in Java
with command prompt arguments provided by the user. We will access... is an array of String objects that takes values provided in command prompt
Display alert box on clicking link
Display alert box on clicking link In this tutorial, we will display alert box to prompt message using jQuery. In the below program , html page contains a "a href" link. On clicking this link ,a alert box prompt message
Swapping of two numbers in java
values from the command prompt. The swapping of two numbers is based on simple
J2ME Display Size Example
on the screen and the screen size will be displayed at the command prompt (image 2
JavaScript Pop Up Boxes
;   Prompt Box: This box is used when the web page needs some input from... ok If you click cancel button: You have clicked cancel Example 3 (Prompt Box...; var a=prompt("Enter your age"," "); if(a>=18
About IDE
About IDE       Generally, a java programmer starts programming with a notepad. To compile and run a program, a programmer uses javac and java commands at the command prompt
Writing First Hibernate Code
or from command prompt as well. I am assuming that you are familiar with MySQL
Java
Java  how to do java in command prompt
j2me
j2me  how to compile and run j2me program at command prompt
mysql doubt
mysql doubt  1.What are the method to write malayalam in mysql command prompt?Is it necessary to write malayalam corressponding unicode in mysql command prompt? 2.How to store & retrieve Malayalam from mysql databases
How to run program in new opened cmd
How to run program in new opened cmd  Hello i have made a program in java to open command prompt, then how to run my left of the program in the new opened command prompt
connection
connection  how to connect the our text editor with the Command Prompt? through which method avilable for it? how to use that method
convertion
convertion  how to convert java class to executable file using command prompt
java
java  how to run java program with using comand prompt in windows os
java
java  how to run java program without using comand prompt in windows os
flow charts
flow charts   draw a flow chart program with a user prompt of 5 numbers computing the maximum, minimum and average
please tell me
please tell me  which cmd we use to clear the screen in sql prompt
install - Java Beginners
install  Dear Sir, How to install java on Windows 98 Or What is command to Set java path on COMMAND PROMPT
javservlet compilation error - Servlet Interview Questions
effects current command prompt u have exit current cmd prompt and strat fresh cmd prompt this will slove your problem  Hi Friend, Close your command prompt and tomcat server and restart it. Thanks
Hibernate compilation - Hibernate
Hibernate compilation  please explain how to compile and run Hibernate at command prompt ( in dos) with sample example
javascript for textbox - JSP-Servlet
a var reason=prompt(\"Reason for deleting:\",\"\") in a javascript after confirm the delete option ,its not invoking the prompt()...So please help me.. Thanks...  Hi Friend, You have used the function prompt() in a wrong way
java
java  Problem analysis and algorithm design (i.e.: flowchart, algorithm)and explanation for a Java program that prompt user to input a number of students in a class. Then, prompt user to input the student√Ę‚?¨‚?Ęs programming
java
java  provide me a coding which is write a java program that prompt user to input a number of student in a class.then prompt user to input the student's programming mark.Determine how many student get A+ and A for their grade
Advertisements
 

 

 

DMCA.com