Question: corejava

Ads

 
 
 

Share on Google+Share on Google+

jagadhish
corejava
1 Answer(s)      8 years ago
Posted in : Java Beginners
Ads
View Answers

September 10, 2008 at 4:28 PM


Hi,


Many. A design patterns at least 250 existing are used in Object oriented world, including Spaghetti which refers to poor coding habits. The 23 design patterns by GOF(Gang Of Four) are well known, and more are to be discovered on the way.


As software developers design and build different applications, we come across the same or similar problem domains. This leads us to find a solution for the same/similar problem everytime, and we end up "reinventing the wheel" again and again.

The use of design patterns related to J2EE applications offer the added advantage of providing solutions for J2EE platform technologies.


-----------------------

This is code of using thread


public class ThreadTest{
public static void main(String[] args){
Thread th = new Thread();
System.out.println("Numbers are printing line by line : ");
try{
for(int i = 1;i <= 10;i++)
{
System.out.println(i);
th.sleep(1000);
}
}
catch(InterruptedException e){
e.printStackTrace();
}
}
}

-------------------------------------


Visit for more information:

http://www.roseindia.net/java/thread/thread-creation.shtml

Thanks.


Ads









Related Tutorials/Questions & Answers:
CoreJava Project
CoreJava Project  Hi Sir, I need a simple project(using core Java, Swings, JDBC) on core Java... If you have please send to my account
Advertisements
corejava - Java Beginners
corejava pass by value semantics  Example of pass by value semantics in Core Java.  Hi friend,Java passes parameters to methods using pass by value semantics. That is, a copy of the value of each of the specified
Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
;    Q 1. When should I use the abstract class rather...;   Q 2. What is hashcode? When is hashCode() used ? Ans : ... use the equals method to make an exact match.    Q 3. How can I get
Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
;    Q 1. How can I get the full path of Explorer.exe... that system can be access from an applet loaded via the Internet.     Q 2....   Q 3. Is it possible to convert a string to an abstract path ? Ans
Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
;    Q 1 : How should I create an immutable class ? Ans...; Q 2 : Is println overloading or overriding ?  Ans : The println() method...;     Q 3 : What is dynamic method dispatch ?  Ans
JList
JList  pls tell me about the concept the JList in corejava? and tell me a suitable example
core java - Java Beginners
core java  how to create a login page using only corejava(not servlets,jsp,hibernate,springs,structs)and that created loginpage contains database(ms-access) the database contains data what ever u r enter and automatically date
HOW TO BECOME A GOOD PROGRAMMER
HOW TO BECOME A GOOD PROGRAMMER  I want to know how to become good programmer   Hi Friend, Please go through the following link: CoreJava Tutorials Here you will get lot of examples with illustration where you can
What is Locale - Java Beginners
://www.roseindia.net/tutorial/java/corejava/javatext
Eclipse - IDE Questions
Eclipse  Hi To All.. I am new to ECLIPSE IDE. Please suggest me any book which can give me complete idea of setting environment and development with basic to advance development of java like(corejava,servlet,jsp,struts,ejb
Java Locale
/corejava/javatext/parseAndFormatDateUsingLocale.html Thanks
autentication & authorisation - JSP-Servlet
/interviewquestions/corejava/null-marker-interfaces-in-java.shtml Thanks
Tutorials   
Java Spring Hibernate Struts Training Apache Commons ioutils maven dependency Read/Convert an inputStream to a String What is the meaning of Java Platform? Why Java is a platform independent language? What is the benefits of learning Core Java? Which technology should I learn after Java? What is array in java with example? How to Convert ArrayList to Array? How to substring in Java? How to format number in Java? What is instance variable in Java? How to download MySQL JDBC driver? What is Calendar class in Java? Which is the best Java tutorials for beginners? How to rename a file in Java? How to delete file in Java code? How to get day from date in Java using Calendar? How to get day of week in Java? How to calculate Date Difference in Java? How to compare date in Java? How to declare array in Java? How to calculate average of array in Java? What is Array in Java? write a java program to find the summation of all the integers entered on command line Sum of two numbers using command line arguments in Java How to create and use Array in Java? How to pass command line arguments in Java? How to create Applet Hello World? Appending String efficiently in Java How to append String in Java? How to list even numbers between 1 and 100? How to add BigDecimal in Java? What is Abstraction In Java? Which is best Beginners Java Tutorial? What is java.util package? Create list from array in Java Filter collection in Java 8 What is the best way to filter a Java Collection? Easy way to transform Collection to Array? How to convert Collection to Array in Java? What are Basic Java Language Elements? Advanced Java Tutorials in 2017 Java brief history Best Reasons to learn Java Java Example Codes and Tutorials in 2017 How do I read a large file quickly in Java? Is learning Java worthwhile? How to create first Java Program? Retrieve database from the table dynamically in jsp from oracle using servlet What does core Java include?

Ads

 
Advertisement null

Ads