what is difference between global methods and local methods?
Answer / 31st august 2009
Global methods are declared globally at class level(Like
static methods), we can directly access those methods with
out creating an object.
Loca methods are declared inside a class, u need to create
an object in order to access those methos
Thanks,
Aryan
sridhar.rvce@gmail.com
Is This Answer Correct ? | 2 Yes | 0 No |
whether java is fully object oriented language or partially object oriented language
Can singleton class be inherited in java?
Write program to print Hello World and print each character address in that string and print how many times each character is in that string? Ex: H: 0 & 1 e:1 & 1 l :2,3,8 & 3 o:4,6 & 2 w:5 & 1 r: 7 & 1 d 9 & 1
What is the unit of plancks constant?
How to disable caching on back button of the browser?
Write a program to create a binary Tree ?
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 we extend immutable class?
What is the purpose of the main method?
What is covariant return type?
What is "Java Native Interface" and how to use it?
what is the difference between Java Command Line and C command Line?