35,618 Topics

Member Avatar for
Member Avatar for reubenraj

Overview: This article practically describes how COM objects could be utilized in Java. The user should understand and have general programming skills in Java. This article also gives a small introduction of what COM is all about. What is COM? COM is a popular object model for creating software applications …

Member Avatar for gurdevs
0
680
Member Avatar for John A

Many people complain that Java is far too slow to use in most applications that are traditionally written with C/C++. Well, this is probably never going to change unless Java allows itself to be completely compiled instead of bytecode, but IBM is trying to make the state that Java's in …

Member Avatar for jwenting
0
225
Member Avatar for John A

In response to this article, which claims that Java could soon become an important programming language in Linux due to the recent open-sourcing of Java: [URL="http://www.linux-watch.com/news/NS6939729453.html"] http://www.linux-watch.com/news/NS6939729453.html[/URL] It's actually very unlikely that it will happen. This article is stating that the main reasoning is that other popular Linux programming languages …

0
87
Member Avatar for John A

Monday, Sun Microsystems released the latest version of Java -- Java Standard Edition 6. It's available to developers in the Sun Developer Network ([URL]http://java.sun.com[/URL]). The final release is planned to ship in January. Java's taken a lot of time for this release. They've worked at it for at least 2 …

Member Avatar for 'Stein
0
132
Member Avatar for happygeek

OK, I know that Sun Microsystems has already open-sourced the Java EE5 application server code under the auspices of its [URL="https://glassfish.dev.java.net/"]GlassFish [/URL]project, but the breaking news is that the full Java source code is to follow next. Sun has announced that the Java code will be covered by the General …

Member Avatar for jwenting
0
176
Member Avatar for Danny

[url=http://www.sun.com]Sun Microsystems[/url], the pioneers of the Java technology, announced today that auto maker General Motors has chosen the Java ES to provide an “integrated software environment

0
170
Member Avatar for sravan953

This program converts any number that you enter to a binary number. For more information on binary numbers, visit: [url]http://www.math.grin.edu/~rebelsky/Courses/152/97F/Readings/student-binary[/url] :)

0
229
Member Avatar for junjun61991

please help me..how to make a star using the (*)!! [code]import java.io.*; public class Prelim{ public static InputStreamReader reader=new InputStreamReader (System.in); public static BufferedReader input=new BufferedReader (reader); public static void main (String[]args) throws Exception{ double a, b, System.out.println("Enter number:"); a = Double.parseDouble(input.readLine()); a=1; { for(a=1; a<7; a++) { System.out.println("*"); } …

0
62
Member Avatar for junjun61991

this code is affecting the java coding [code]import java.io.*; public class fahrenheight{ public static InputStreamReader reader=new InputStreamReader (System.in); public static BufferedReader input=new BufferedReader (reader); public static void main (String[]args) throws Exception{ String fahrenheight; double C=(5/9); System.out.println("Celcius"); Celcius = input.readLine(); System.out.println("Fahtenheight"); Fahrenheight=Double.parse.Double(input.readLine()); System.out.println("C=(5/9)" + F-32 + " = "); System.out.println("(5/9)* Fahrenhight-32"); …

0
57
Member Avatar for sravan953

This code snippet displays any word that the user enters in descending order, each time, removing the last charcter. So, [I]sravan953 [/I]in descending order would be: [I]sravan953 sravan95 sravan9 sravan srava srav sra sr s[/I]

1
346
Member Avatar for sravan953

Word: '[B]trouble[/B]' First vowel encountered: '[B]o[/B]' Therefore, the Piglatin version: '[B]oubletray[/B]' [I](From the first vowel till the last letter, concatenated with the first few letters which(or were not) left out, which concatenated with a standard 'ay')[/I] So, the Piglatin form of '[B]sravan953[/B]' would be: '[I]avan953sray[/I]'

0
138
Member Avatar for sravan953

This code snippet accepts a user-defined set of numbers, then accepts those many numbers, and displays the highest and lowest number.

0
154
Member Avatar for sravan953

The program accepts a sentence, stores each word in it as a separate element in an array, then asks you for a word, and return whether or not the word is present in the sentence you entered.

Member Avatar for sravan953
0
245
Member Avatar for srvstv.prnc

This is another sorting algorithm called heap sort that I wrote using Java programming language. The heap sort code is quiete complex but i tried my best to write it

1
194
Member Avatar for Intrade

I'm sure this has already been done, but to practice understanding Data Structures better I decided to try making one of my own, given only an idea of what type of functionality I want, a pencil and some paper (as well as .txt file, modified into a .java file =p …

Member Avatar for Intrade
0
129
Member Avatar for puneetkay

This program consists of a function in one class. It demonstrates the "Left To Right" Principle used by most of the languages.

0
108
Member Avatar for rahul8590

Well , i have created a simple chatting interface . i would not call it a chatting interface actually cuz i had something else in my mind and finally landed on something else . i would like if you guys could excecute it and help me making it a real …

Member Avatar for toyi
0
278
Member Avatar for verruckt24
0
350
Member Avatar for sciwizeh
Member Avatar for sciwizeh
0
545
Member Avatar for Alex Edwards

I'm not sure if it has been done yet or not, but I thought this program might be helpful to those that want to practice SQL in Java, because it sure is helpful for me! =) The assumption is that you're running Java 5+ and that you have a Database …

Member Avatar for newtonorina
0
247
Member Avatar for llemes4011

A program that finds the day of the week you were born on. Once again, this was adapted from a homework assignment, but I rewrote the entire thing from scratch >.< but it was a lot of fun.

Member Avatar for toyi
0
2K
Member Avatar for llemes4011

A program that asks for a number, and uses that number to find the date that many days from today (or whatever day you're using it on). The code was adopted from a homework assignment, so that's why the variable names might not make a lot of sense, I was …

0
96
Member Avatar for sciwizeh

Finds all (integer) the triples from zero to max. won't return duplicates (ie. (3,4,5) and (4,3,5)) prints them demonstrates: nested loops, multiple classes, proper equals(Object) override (no hashcode though), writing to file

0
250
Member Avatar for yash301288

Its a simple program giving the demo of intre thread communication based on MovingBalls.java program... Hopng that its Useful For U?

0
143
Member Avatar for alpe gulay
0
293
Member Avatar for alpe gulay

..'this is a simple program in w/c enables to create a txt file. it ask input from user first then put that in the txt file. :-)

-2
261
Member Avatar for alpe gulay

..this is a simple java code w/c allows to produce a beep sound. timer also is being applied here. hope it will help for any reason it may serve. :-)

Member Avatar for toyi
0
1K
Member Avatar for alpe gulay

.,'this program will simply creates a diamond using asterisk.,' just try out this code i am sure you will be interested.!.. email me about your comment in this simple program!..help me if you know the easiest way to construct this kind of program..'

0
184
Member Avatar for tranni

This class Generate A unique string. You can concatenate Timestamp to this Unique String and use it as Unique ID

0
167
Member Avatar for shaikh_mshariq

Here is the code to write a serverSocket which listens on a given port. I have used a dummy Socket to change serverSocket's port dynamically. This method uses a inner class which is basically a thread and it creates a serversocket in thread by given port no. If you want …

Member Avatar for shaikh_mshariq
0
164

The End.