answersLogoWhite

0


Best Answer

Pass the code that gets input as a comment. Other way is to delete the code or disable javascript altogether

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you terminate input in java scripts?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Who is the original author of java software?

James Gosling is known as the Father of Java software, however, Sun Microsystems employs many people (authors) to write scripts for them.


What is the use of 'Dialog' class in java?

From the Java API: "A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user." Dialogs are useful specifically to take input because they can be made to block input to other Window objects until the user finishes with the Dialog (think: Save File dialog box).


What is the input and output to a Java interpreter?

The input is source code (MyClass.java) and the output is bytecode (MyClass.class).Generally, Java compilers receive as input .java source code files, and output .class binary files which are then executed by the Java Virtual Machine (JVM) executable.Some Java compilers output binaries in machine code that can be directly executed.The input is a source file with the java extension. (i.e. HelloWorld.java) The output is the byte code file with the class extension. (i.e. HelloWorld.class)Input:1. Most compilers take as input the source program which is in a particular programming language.2. Compilation Switches ( special arguments that tell the nature of compilation and structure of target code).3. Supporting Files (Library Files) such files help in the execution and translation of a programOutput:1. Program List file.2. Target Code. Target code is the equivalent of the source code but in another language


Java script program to Print the Fibonacci series using array?

<script type = "text/javascript"> var input; var rev = 0; input=window.prompt ("Please enter a 5-digit number to be reversed."); input = input * 1; while (input > 0) { rev *= 10; rev += input % 10; input /= 10; } document.write ("Reversed number: " + rev); </script>


How can you allocate memory dynamically in Java?

To give java more memory there are a series of steps to follow. To start, go to the computer's control panel, select programs, then go to java settings. This should initiate the Java control panel to pop up. Click on the Java tab followed by the view button. Click on the "runtime parameters" and input the specifics desired. Once finished hit okay then apply and it should increase the memory on your Java.

Related questions

How are java scripts added to the webpagegallery?

It order to add java scripts you have to import them at the start of the page. Writing <script src="location of js">, will make the scripts into the web page.


Where can one download free java scripts?

One can download free java scripts from javascriptkit, javafile, softonic, javascriptsource, hscript, dynamicdrive, periscriptsjavascripts, and many other sites for free.


What computer languages cannot be used to write CGI scripts?

java programming language cannot be used to write CGI scripts


How do you install RSbot scripts?

In order to install RSBot scripts you need to go into your documents where their should be an RSBot folder. Open that and you will find a scripts folder. In there a Source folder which is where you save your script. Make sure you save the source as a .java or if it is a .class (already compiled Java code) put it into the pre-compiled folder. Once you have your .java source in the the folder back track and you should see a Compile Scripts CMD. Make sure you have java JDK (google it and download) then run the .bat. The script will compile and your good. Amplex~ RSBot Developer


What would interface java be used for?

Interface Java can be used for a variety of tasks and commands such as .swf files, Java files, running scripts, as well as website video players for websites.


Who is the original author of java software?

James Gosling is known as the Father of Java software, however, Sun Microsystems employs many people (authors) to write scripts for them.


How do you take double value input in java programming?

tamayoalfred27y.c


How do you input an operator between two numbers in java?

You type it in with your keyboard.


Why does Java accept any input as string by default?

Java doesn't always accept any input as a string it only do that when the input is entered from the " JOptionPane.InputDialog" but it can accept any other data type like integer or short from the console though Scanner class .


Which Java class allows you to do input and output via dialog boxes?

javax.swing.JOptionPane


How does java accept input from the keyword?

Java gives us access to standard input from System.in, which is an InputStream object. You can use it like any other InputStream and call the read() method to read a single byte of input, or you can wrap it in a more robust class (BufferedReader, BufferedInputStream) for more options. the user can insert any keyword because JAVA and all the programming languages do not compile anything between quotations "this is the sample input".


What is the difference between PHP and JSP?

They are different technologies - JSP stands for Java Server Pages, where PHP means PHP: Hypertext Preprocessor... Basically, they do the same thing - generate webpages, but JSP scripts are programmed in Java, and PHP scripts in PHP, which are completely different scripting languages. PHP is usually used in small to medium-sized projects, where Java tends to be percieved as a more "enterprisey" (aimed at large projects).