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

Design a program using one-dimensional array that determines the highest value among the eight input values from a user. Display the difference of each value from the highest to the lowest.

1 Answers   RoboSoft,


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  


I am trying to pass the string firstName from a Servlet called SampleServet. I am running this on eclipse and it tells me that "the value for annotation attribute must be a constant expression. I don't understand why it is giving me this error. @PersonAnnotation(name = SampleServlet.firstName) public class AnnotationClass{

0 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  


how to create a (*)pyramid using java codes???

5 Answers   Infosys,






inner join,outerjoin,trigger,stored procedure explain with code snippets?

1 Answers   IBM,


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

1 Answers   Oracle,


How to create and run runnable jar file of a Java Project.

4 Answers   HCL, TCS, Tech Mahindra, US Consulate, Wipro,


Can we run Applet in Web browser with security policy files

0 Answers  


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

14 Answers   Google, Zoho,


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

4 Answers   Tech Mahindra,


how to store and retrive a set of values without using an array

8 Answers   FCS, HCL, Maximus,


Categories