answersLogoWhite

0


Best Answer

For example, for all numbers between 101-200: for (int i = 101; i

User Avatar

Wiki User

โˆ™ 2009-12-26 22:24:06
This answer is:
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
User Avatar
Study guides
๐Ÿ““
See all Study Guides
โœ๏ธ
Create a Study Guide

Add your answer:

Earn +20 pts
Q: Java code for integers greater than 100 and divisible by 7?
Write your answer...
Submit
Related questions

How can one assign a list of integers in Java?

Put statements at the start of ones code will allow one to have a list of integers in their Java program. If one does this then they will successfully have integers in their code.


What does the Java compiler translate Java source code to?

The Java compiler translates Java source code to Java byte code.


What type of program translates a Java program into byte code?

The Java compiler translates Java source code into Java bytecode.


How do you do this java code?

You have to specify the task that you wish me to help you with the Java code.


What is difference between byte code and java virtual machine?

the Java virtual machine is an interpreter. It translates byte code into machine coded subroutines. the Java compiler produces the byte code. The byte code can be executed upon any Java virtual machine without modification, regardless of the underlying hardware. The Java compiler creates the byte code from the high-level source code.


In the first step of the Java hybrid compilation process Java program code is converted into an intermediate format called .?

Java byte code.


How is java byte code is different from other low level language?

Java byte-code is the code which generate after the compilation of .java file.And this code is only understand by JVM(java virtual machine ) which understand it and execute it.In other languages this type of functionality is not available.


Difference between a java complier and the Java JIT?

A java compiler takes Java source code and turns it into Java bytecode, which can then be run by the java virtual machine.Using JIT means that the java code will be compiled and executed at the time that you run the program, which will slow down the program because it has to compile the code at the same time that it runs.


What is the extension of a java byte code file?

.class is the extension of a java byte code file.


What is BYTE Code in java?

Java byte code is the code that is output by the Java compiler. Byte code is not machine code, it must be interpreted to create the machine code. This is handled by the Java virtual machine. Pretty much every platform produced today has a Java virtual machine implementation, so the same byte code can be executed upon any machine. Byte code can be regarded as being the native language of the virtual machine, as opposed to machine code which is the native language of the physical machine.


Can you write the code to compare 2 string objects in Java?

In java, the String object has a compareTo() method. The method returns an int. If the int is less than zero, the first string is less than the second. If the int is greater, the first is greater than the second. If the int is zero, the two strings are equal.


How is java byte-code different from other low level computer language?

Java byte-code is the code which generate after the compilation of .java file.And this code is only understand by JVM(java virtual machine ) which understand it and execute it.In other languages this type of functionality is not available.


How is decoupling achieved in Java programs?

Decoupling is achieved in Java programs through the parser code. To debug the decoupling achieved in Java, run the source code over the parser code first.


How does java work?

A Java compiler takes the imputed code and compiles byte-code. This code is then interpreted by the Java interpreter. This compiling method allows the code to versatile, working on cellular devices, the web browser, and on your hard-drive.


What does a compiler perform?

A compiler converts high-level source code into native machine. In the case of Java, source code is compiled to Java byte code suitable for interpretation by the Java virtual machine which produces the machine code.


Executon steps in java?

First of all the compiler converts our source code into byte code ,this is done by "javac" compiler.then we use interpretor that is the"java interpretor" for making our byte code executed.thats y java is called as an compiled and interpred language.by that way our java program will be interpreted. First of all our source code vl b converted into byte code by da java compiler named "javac" ,then dt byte code vl be executed by da interpretor named "java" interpretor. These are execution steps in java dts y v call java as a compiled and interpreted language.


Differencitate between source code and bytcode in java?

The source code is just the set of statements written in (any included) java language by a programer (in this case our source code is a text file with .java extension). And in other hand a bytecode is the resulting code of compile a .java file, It is not machine code, but it can be interpreted and executed by the jvm.


Java code for tax deduction in database connection?

Java code for tax deduction in database connection?


Why java compiler is called as justintime compiler?

It isn't. Those are two different things. The regular Java compiler converts the source code (.java extension) to bytecode (.class extension). This is supposed to be run by a JVM (Java Virtual Machine). The Just-In-Time compiler actually converts the bytecode to machine code before running it, to achieve greater speed. I believe this "conversion to machine code" occurs only in the computer memory - that is, no actual files are generated. Not all Java implementations use a JIT compiler. It is a newer development, created for efficiency reasons - but it is not part of the original Java specification.


What kind of file contain java source code?

'.java' files contain java source code. One can access these files on windows by using 'notepad'.


Difference between a Java compiler and a conventional compiler?

Due to platform independence, a Java compiler will interpret Java source code into Java Byte Code and pass to the JVM, which will pass machine understandable code through to cpu. (clarification needed).A conventional compiler converts source code directly to machine code.(clarification needed).


How can add java code to java server page?

Scriplet.


Where does bytecode come from java?

It is created by the Java compiler, based on the source code (the .java file).


Is Java an independent platform?

definitely java is a platform independent..there is no doubt about it ...this java can be run in any platform...becoz it converts source code into byte code/machine code..thats why it is called platform independent.............


How java is fast?

Java is not fast. Compared to equivalent code compiled to native machine code it is extremely slow. However, it is somewhat faster than many other interpreted languages because the source code compiles to Java byte code which is suitable for interpretation by any Java virtual machine. Interpreting byte code is much quicker than interpreting source code and, unlike machine code, byte code is portable.