answersLogoWhite

0

What is a simple java code and explain what the code does?

Updated: 8/17/2019
User Avatar

Sbsesay

Lvl 1
14y ago

Best Answer

int a;

This simple Java statement declares an integer.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a simple java code and explain what the code does?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you create a simple decipher code in java?

decipher code depends upon the algorithm you used to make them. there are no general methods.


Java explain the main feature of java language?

You don't have to rewrite your code to get it working 2 or more OS' That cuts down development cost and time by a lot.


A program to explain the Exception Handling mechanisms in Java using the keywords try catch and finally?

Here is a code snippet illustrating exception handling: try { int a= 3 / 0 ; } catch ( ArithmeticException e ) { System.out.println ("An ArithmeticException has occured"); } finally { // some code }


Where can one find more information on Java car rental?

Java Car Rental is an opensource program which you can find on various forums across the net, though the best place to learn how to create this program is Rose India. They offer the code and explain the variables you can tweak for your business - it is actually quite simple, and there are various places to go for tutorials that explain how you can tweak this program to your liking.


What is the purpose of call by value in java?

Simple types are passed by value in Java. For example: void meth(int a) { // code } meth(34); // 34 is passed by value


How do you do this java code?

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


Why java is platform independent explain by diagram?

Java is a platform independent language becoz of the bytecode magic of java. In java, when we execute the source code...it generates the .class file comprising the bytecodes. Bytecodes are easily interpreted by JVM which is available with every type of OS we install.


What does the Java compiler translate Java source code to?

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


Explain the role of sizeof operator in java?

There is no sizeOf() operator in Java.


Explain the statement there is more to java than the language?

All programming languages are abstract things - collections of rules which dictate how symbols may form words, how words may form statements, and how statements may form programs. Programming languages need "other stuff" in order to actually be useful. For most languages this will include either a compiler or an interpreter which can turn source code into executable programs. Java's "other stuff" includes a compiler, which turns Java source code into Java byte code, and the Java Virtual Machine (JVM), which allows Java byte code to execute on your computer.


What is JAVA drive by?

AnswerA Java Drive-By is a Java Applet that is coded in Java and is put on a website. Once you click "Run" on the pop-up, it will download a program off the internet. This program can be a virus or even a simple downloader. If you'd like to get the source code or wanna know more information about a Java Drive-By, use Google.


What is a Java Drive-By?

AnswerA Java Drive-By is a Java Applet that is coded in Java and is put on a website. Once you click "Run" on the pop-up, it will download a program off the internet. This program can be a virus or even a simple downloader. If you'd like to get the source code or wanna know more information about a Java Drive-By, use Google.