int a=10,b=20,c=30 a= b+c;b=a+c;c=a+b;
System.out.println("The value is"+a+b+c;
Answer Posted / suresh
130
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
Is array synchronized in java?
Can I declare class as static or private?
What is the argument in java?
What is collection sort in java?
Is there any way to find whether software installed in the
system is registered by just providing the .exe file?
I have tried the following code but its just displaying the
directory structure in the registry.
Here the code :
package com.msi.intaller;
import java.util.Iterator;
import ca.beq.util.win32.registry.RegistryKey;
import ca.beq.util.win32.registry.RootKey;
public class RegistryFinder {
public static void main(String... args) throws Exception
{
RegistryKey.initialize(RegistryFinder.class.getResource("jRe
gistryKey.dll").getFile());
RegistryKey key = new RegistryKey(RootKey.HKLM,
"Software\\ODBC");
for (Iterator
What classes of exceptions may be thrown by a throw statement?
What is the final class?
Difference between overriding and overloading in java?
Is overriding possible in java?
What do you mean by an object in java?
What is a JAR file?
What does string intern() method do?
What is byte data type?
What is a java developer salary?
What are scriptlets?