What are Inner classes?
Answers were Sorted based on User's Feedback
Answer / rajkumar ksr college
class is a user defiend datatypes.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / kartik
Something inside something or class inside another class
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sandhya.s
defining class in a class.
inner classes are of 2 types
static and normal
Is This Answer Correct ? | 0 Yes | 2 No |
How do you remove an element from an arraylist in java?
What is the difference between array and array list in java?
What is generics in java interview questions?
what is a package?
how can i take the inputs from users in java program?
What is unicode in java?
What is an object?s lock? Give name of object?s that have locks?
How concurrent hashmap works?
whays is mean by inner class?
What do you mean by scope of variable?
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"); } }
Why call by value prevents parameter value change?