How to Create Threads in Java Threads can be created in java using two techniques. By implementing the Runnable interface or by extending the Thread class. By implementing the runnable interface. Step 1: Create a child class that implements the runnable interface. Step 2: Provide the working of the thread inside the run method Step 3: Create another class containing the … [Read more...] about How to Create Threads in Java | Multithreading in Java | JavaTutorOnline
Core Java Interview Questions and AnswersThis is a Collection of very important core java interview questions with answers.These questions will help students and job seekers to gain confidence to appear and get success in java interviews.Lot of importance is given to a candidate's ability to answer core java questions in a java job interview.For private … [Read more...] about Important Core Java Interview Questions and Answers
Multiple Inheritance in Java is not supportedFor making Java language simple and avoid complexities present in earlier languages like c++, the founder of java(James Gosling) decided that java shouldn’t support Multiple Inheritance.In a white paper titled “Java: an Overview” James Gosling gives an idea on why multiple inheritance is not supported in … [Read more...] about Why Multiple Inheritance in Java not supported?
Ejb1 vs Ejb2 vs Ejb3 Ejb1 had limited functionality just as a lady bug that doesn't do much work still is appreciated by people due to its beauty.Ejb2 was very heavy like the Elephant with functionalities. Still to take proper use of the elephant power it had to be tamed, or Ejb2 was later simplified to Ejb3Ejb3 is very simple having power and is serving the people very … [Read more...] about Ejb1 vs Ejb2 vs Ejb3 | JavaTutorOnline
Ant Java Build Tool Ant is a Java build tool. It is an open source program designed to help develop, and build big programs by automating the work tasks of compiling code, running tests, and Packaging the results for redistribution.It is written completely in Java there by it is platform independent, easy to use, extensible, and scalable. It can be used in a small personal … [Read more...] about Ant Java Build Tool Tutorial | JavaTutorOnline