how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
public class Base { public void myMethod(int a,intb) {} } // Uses myMethod and then hides it. public class DerivedOne extends Base { private void myMethod(int a,int b); } will this compile or not .yes or no. why
What is a byte array?
What is identifier give example?
What is the difference between the final method and abstract method?
Is ++ operator thread-safe in java?
I was asked to draw the class diagram for the below scenario which should obey OOPS concept. A Portal is to be developed for a school , which has 3 main divisions viz , Education , Admin & Trust. Each division has 2 sub divisions Kinder Garden & Higer Secondary.
Features of JAVA ? In which version of java synchronizedXXX() methods are included in Collections class.
What is the purpose of default constructor?
What is the method to expand and collapse nodes in a jtree?
when we write class.forName("any one class"); what happens actually?what it will return?explain stepwise?
Are constructors methods?
i don't want fullforms of JDK an JVM i want definitions for them