Explain what access modifiers can be used for methods?
No Answer is Posted For this Question
Be the First to Post Answer
What is the purpose of skeleton and stub?
Given: 11. public static void main(String[] args) { 12. Integer i = uew Integer(1) + new Integer(2); 13. switch(i) { 14. case 3: System.out.println(”three”); break; 15. default: System.out.println(”other”); break; 16. } 17. } ‘What is the result? 1 three 2 other 3 An exception is thrown at runtime. 4 Compilation fails because of an error on line 12.
can you use the two main method in same class?how?
4 Answers DELL, Geosoft, SparkTG,
What is a default constraint?
How to run a JAR file through command prompt?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
What is dot operator?
Give us a program to check for parenthesis matching using stack.
What is meant by JVM? Is JVM platform independent or not?
Can we pass null as argument in java?
Can a source file contain more than one class declaration?
How do I remove a character from a string in java?