-
-
-
-
-
-
-
Output of Java Program
What is the output of the following program?class A{ public static void main(String[] s) { System.out.println(s[1] + s[2] + s[3]);}}java A 12345Options(i) 1(ii) 12(iii)1234(iv)234(v) Compilation Error
-
Marker interface having no methods right.. then what is the use of marker interface? for what purpose we use marker interface?
One of the "clean" features of the Java programming language is that it mandates a separation between interfaces (pure behavior) and classes (state and behavior). Interfaces are used in Java to specify the behavior of derived classes. Often you will come across interfaces in Java that have no behavior. In other words, they are just empty interface definitions. These are known as marker interfaces....
-
-
JVM is platform independent/dependent? why?
which one is faster in execution Array List or Array? why?
-
-
Increment and Decrements Operators
If int=8 then how to solve ++a+a--*a---a++
-
-
Need of Polymorphism
What is need of polymorphism in Java? What could have happen if polymorphism is not present?
-
-
-
-
-
-
Core Java Interview Questions
Ans