does anyone know the code to display a triangle using a
applet?



does anyone know the code to display a triangle using a applet?..

Answer / sureshzzz

use graphics package and tell the answer

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More J2SE Code Interview Questions

Is it possible to define marker interface in java.If possible then how to define user defined marker interface?

1 Answers   Tech Mahindra,


A game that has five levels of play has the score for each level stored in an array. You are to write a program that goes through that array and finds: a) the minimum score, and the level at which it occurred b) the maximum score, and the level at which it occurred c)the average score for all five levels The score data you must use for this program are as follows: Game Level Score 1 450 2 316 3 148 Stack implementations is mandatory.

0 Answers  


how to print a message to console without using main() function?(do not use even static blocks also.)

14 Answers   Google, Zoho,


How Can I Trace A Java Program . Please Give Me Step by Step Process

1 Answers   IBM,


is public static void main() work in java?is "String arg[]" needed as argument?

4 Answers   Tech Mahindra,


Can we run Applet in Web browser with security policy files

0 Answers  


Write a program to convert a decimal number to binary form?

1 Answers   Oracle,


we compile any program bu c:/>javac prog.java and run as c:/>java prog Here what's the meaning of c in javac. We have java Interpreter but not compiler.Then why we have to use javac. Please answer this question?

2 Answers  


write a program that will ask the user to enter a number n and display the product of all numbers from 1 to n.

1 Answers  


what are the other loops except for for,while,do while and until?

0 Answers   Aricent,


Is there any static classes are in java give some examples

0 Answers  


Why the program getting error if we don't use String args[] in main(), even in the case of not getting any arguments from command line?

1 Answers  


Categories