Share on Google+Share on Google+

Heather Jones
Prompt
0 Answer(s)      6 years and 2 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.

Ads

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
How to connect to MySQL from command prompt?
How to connect to MySQL from command prompt? This video tutorial walks you through the steps to connect to MySQL from command prompt in Windows machine... to the command prompt and typing the “mysql <with arguments>&rdquo
Video Tutorial: How to create a database in MySQL using Command prompt?
How to create a database in MySQL using Command prompt MySQL is an Operation... is the video tutorial of "How to create database in MySQL using command prompt... command prompt. To create a database we need to use 'create database name
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
Tutorials   
Java Spring Hibernate Struts Training What does core Java include? java What are some way to learn Java quickly? Is it required to learn Java before learning Java Script? Is it necessary to learn java script before learning PHP? Are HTML5 and Java Script boosts Java career? Is Java object oriented? Fingerprint application with Java Uninstall Oracle Virtual Box JSON to HashMap Free Java online Training I want example of Control Statement in Java ANSI Color Codes with Python Create a Program that Calculates Input What is difference between JDK,JRE and JVM? How to see ubuntu version on server? How to get Page Source in Selenium (WebDriver) using Java? The path to the driver executable must be set by the webdriver.gecko.driver system property parse data from a link in java Java Program Qns using BlueJ How to fix HAX Kernel Module Is Not Installed error? Installing Audacity Looking for code Logic to check track changes & Coments in MSWord, MSWordx, MSExcel, MSExcelx is ON/OFF Installing JDK on Mac SAX Parser exception ERROR 601 (42P00): Syntax error. Encountered Thread java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory How to install Ubuntu 16.04 LTS? HttpServletRequest cannot be resolved to a type in eclipse - Solved Unhandled event loop exception GC overhead limit exceeded Spring Data jpa with apache phoenix Caused by: java.lang.IllegalArgumentException: Not a host:port pair: PBUF o.a.h.h.z.RecoverableZooKeeper - Possibly transient ZooKeeper, quorum= com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager class not found com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager not found How to download and install Java 8 on Windows? How to uninstall JDK 7? How to install gtk-doc-tools package in Ubuntu? How to install Oracle JDK 8 on Ubuntu? ejabberd_ctl.beam not found - Solved How to convert date to UTC format in Java? How to install autoconf, automake and libtool in Ubuntu 15.10? How to convert current date to mm dd yyyy format in Java? How to convert current date to dd mm yyyy format in Java? How to stop window closing in "internalFrameClosing" event. How to find list of all index in Neo4j? neo4j-server.properties file location SASLError using PLAIN: not-authorized how to convert war file into .exe file using java code

Ads

 
Advertisement null

Ads