10. What is the output of the following Java program?
class Main {
public static void main(String args[]){
final int i;
i = 10;
System.out.println(i);
}
}
10. What is the output of the following Java program?
class Main {
public static void main(String args[]){
final int i;
i = 10;
System.out.println(i);
}
}
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between the file and randomaccessfile classes?
public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }
what is Dictionary? and what purpose it is used for?
I have one POJO class(Java bean class), it has two variables for that it has setters and getters. Now i have created two objects for that class and i have set the data for those variables through this two objects. Now question is i want check whether those two objects have same data or not, for this write a program? Thanks, Bose.
'A class is a template for an object' explain this statement.
0 Answers Akamai Technologies,
What is the difference between call by reference and call by pointer?
What is unicode?
define the terminology association.
Does java support multi dimensional arrays ?
Can we declare main () method as non static?
Can we sort list in java?
Explain java coding standards for classes or java coding conventions for classes?