Sun Java Programming Language (cdj-275) - Page 2 - Answered Questions & Fixed issues

0helpful
1answer

Yahoo mail required me to

Hello!
The problem is in the browser. If you aren't able to view javascript content, then maybe your browser isn't up to date.
Another cause might be that Javascript is deactivated. To activate it again, search in the options menu in your browser.
Good luck!
5/20/2011 5:01:47 AM • Sun Java... • Answered on May 20, 2011 • 372 views
0helpful
2answers

Source code in java that display bio data

program that display first name and second name
5/1/2011 3:46:21 AM • Sun Java... • Answered on May 01, 2011 • 967 views
0helpful
1answer

I need a java script

First create a program or send the program in my mail arulpandit@gmail.com and i solve it...
6/3/2011 3:38:35 PM • Sun Java... • Answered on Jun 03, 2011 • 428 views
0helpful
1answer

How to name a folder

install a software called hindiwriter from http://adf.ly/hdjE
5/6/2011 5:12:29 AM • Sun Java... • Answered on May 06, 2011 • 1,503 views
0helpful
1answer

I need javascript code for

this is a great web for all your javascript needs
http://javascript.internet.com/games/snakes-and-ladders-game.html
3/6/2011 4:27:04 AM • Sun Java... • Answered on Mar 06, 2011 • 631 views
0helpful
1answer

I need javascript for one player snakes and

this is a great web for all your javascript needs
http://javascript.internet.com/games/snakes-and-ladders-game.html


2/13/2021 9:23:41 AM • Sun Java... • Answered on Feb 13, 2021 • 402 views
0helpful
3answers

Download java on mozilla firefox

You can download Java at the following link:
http://javadl.sun.com/webapps/download/AutoDL?BundleId=47373
3/5/2011 12:01:53 AM • Sun Java... • Answered on Mar 05, 2011 • 1,339 views
0helpful
1answer

I need to write a

http://www.scribd.com/doc/31905900/Java-Programming-Creating-a-Snake-and-Ladders-Game-and-Object-oriented-concepts
if you go to the website it will teach you how to do it
2/28/2011 3:12:12 AM • Sun Java... • Answered on Feb 28, 2011 • 390 views
0helpful
1answer

Wirte a pogram in java using for loop,that will

package com.gpt;

import javax.swing.JOptionPane;

/*
This program computes Fibonacci numbers using a recursive
method.
*/
public class Fibonacci
{
public static void main(String[] args)
{
String input = JOptionPane.showInputDialog("Enter n: ");
int n = Integer.parseInt(input);

for (int i = 1; i {
int f = fib(i);
System.out.println("fib(" + i + ") = " + f);
}
System.exit(0);

}

/**
Computes a Fibonacci number.
@param n an integer
@return the nth Fibonacci number
*/
public static int fib(int n)
{
if (n return 1;
else
return fib(n - 1) + fib(n - 2);
}
}
2/24/2011 1:09:23 PM • Sun Java... • Answered on Feb 24, 2011 • 334 views
0helpful
1answer

The side of the traingle is 4 and the output is *

import java.util.*;
public class test {
static Scanner scan = new Scanner(System.in); public static void main(String[] args) {
int mark = scan.nextInt();
for(int i=0; i< mark; i++){ for(int j=0;j<=i;j++) System.out.print("*"); System.out.println(); } } }
12/16/2010 2:36:40 PM • Sun Java... • Answered on Dec 16, 2010 • 102 views
0helpful
2answers

Triangle output in java programming

5
45
345
2345
12345
10/4/2010 11:05:41 AM • Sun Java... • Answered on Oct 04, 2010 • 672 views
0helpful
1answer

Wanted to do a good project on java.suggest d

if u have hardware knowledge,then u can interface a 4x4 matrix keypad with printer port and make a calculator!!
i have done this project, if u need hardware assistance tell me

8/9/2010 9:29:44 AM • Sun Java... • Answered on Aug 09, 2010 • 141 views
0helpful
1answer

I want to format java code and later want to check

write a program that get an input size from the user and print the multiplication table with the specified size :
size of the multiplication table 5;
multiplication table of size 5;
7/29/2010 8:56:17 AM • Sun Java... • Answered on Jul 29, 2010 • 152 views
0helpful
1answer

What is singleton model

The Java Singleton pattern belongs to the family of design patterns that governs the instantiation process. A Singleton is an object that cannot be instantiated. This design pattern suggests that at any time there can only be one instance of a Singleton (object) created by the JVM. You implement the pattern by creating a class with a method that creates a new instance of the class if one does not exist. If an instance of the class exists, it simply returns a reference to that object
7/23/2010 3:08:43 PM • Sun Java... • Answered on Jul 23, 2010 • 140 views
0helpful
1answer

How can i determine the input number of a leap

Hello, Just divide the year by 4 and see check the remainder. If the remainder is 0 the year is leap year else it is a non leap year.
Regards, polysandy
7/20/2010 3:56:59 AM • Sun Java... • Answered on Jul 20, 2010 • 729 views
0helpful
1answer

Hey plz help me

10 Reasons Why dotNET Is Better Than Java

This post is prompted by a post by SANDIP when he said something like "Java Is Dead" and some people were like attacking him for expressing his view.

I've been a fan of the Java technology for quite some time now. I remember literally copying a Java book when I didn't have the money to buy it.

But one thing I discovered with technology is that it's not always about love but it's more about power.
The bitter truth is when I compare java technology with CLI (popularly known as .NET), I see that Java is less powerfull in many areas.

I'll be using the words CLI and .NET interchangeably refferring to any implementation of the CLI (.NET, Mono or dotGnu)
This are some of my points.

1- In .NET you have a choice of languages to code with (C#,VB.NET, Java,Boo,Python e.t.c), producing the same type of compiled code but in Java one is limited to the java language. One may argue that jython is an alternative, but even the creator of jython who later created it's .NET version called IronPython admitted that .NET is a more powerful technology.

2, NET prgrams run at native speed while java is interpreted which makes java slower.Although java has Just In Time compilation but it stills run slower. With .NET you are not limited to JIT but have the option AOT or ahead of time compilation if you want to eliminate startup delays.

3. Calling native code in java is not a very clean process. You need to generate some stub files which makes the whole process cumbersome and dirty. In .NET you just declare that you are calling a native function from a specified library and just start calling it.

4. .NET languages are richer than Java. They have object oriented feature that are absent in java e.g properties,delegates,generics.

5. Java GUI programs look alien on the host operating system. Even if you use the OS's theme you still notice that the java widgets look out of place.

6. .NET in the form of Mono has brought a whole revolution on the linux desktop in form of great applications like beagle, tomboy, diva, iFolder, banshee e.t.c. This is something that java has failed to do despite the fact that it's been there long
before .NET

7. Many programs that would have been difficult to develop with java have been developed with .NET things like compilers (Mono's C# and VB.NET) 3D game engines (unity game engine) e.t.c

8. The CLI is an open standard maintained by an independent standards organization (E.C.M.A) while java is still governed by SUN microsystems.Even though java has recently been open-sourced, it's future will still be highly influenced by SUN.

9. You can code on the .NET platform using Java but you cannot code on Java platform using any of the .NET languages.

10. Using Mono's IKVM to call java code from .NET or convert java classes to .NET assemblies. This is so efficient that large java programs like the eclipse I.D.E have been runned on .NET.

This is not an exhaustive list but I believe 10 points are enough to send the message.

One more thing, feel free to criticize my views or even flame me.

----YOUR CHIRAG------
7/11/2018 9:39:00 AM • Sun Java... • Answered on Jul 11, 2018 • 270 views
0helpful
1answer

I want to begin learning JAVA, which books should

Beginning Programming with Java For Dummies will be good for a start! For more info on the book, check it out here: http://www.dummies.com/store/product/Beginning-Programming-with-Java-For-Dummies-2nd-Edition.productCd-0764588745,navId-322467.html
2/21/2017 6:46:06 AM • Sun Java... • Answered on Feb 21, 2017 • 220 views
0helpful
1answer

Please write a java program to print your full

class username {
public static void main(String[] args) {
System.out.println("your name goes here"); // Display the string.
}
}
7/7/2010 6:17:31 AM • Sun Java... • Answered on Jul 07, 2010 • 415 views
0helpful
1answer

Please write a java program to print my full name

place the below code in a text file dhana.txt and compile it.

class dhana {
public static void main(String[] args) {
System.out.println("dhanalakshmi"); // Display the string.
}
}

regards
harit
7/7/2010 6:14:11 AM • Sun Java... • Answered on Jul 07, 2010 • 160 views
Not finding what you are looking for?
Computers & Internet Logo

Popular Tags

131 questions posted

Ask a Question

Usually answered in minutes!

Top Sun Computers & Internet Experts

Rob Hill
Rob Hill

Level 3 Expert

1483 Answers

Narseman

Level 3 Expert

1092 Answers

Brad Brown

Level 3 Expert

19190 Answers

Are you a Sun Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...