casperl roh

+ Follow
since Aug 05, 2011
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by casperl roh

Please bring any idea about how we can execute the SWING application within the intranet work
10 years ago
what are component classes?

In the GUI (Graphical User Interface) based frameworks like Applet etc., its used.

Examples of Components : buttons, checkboxes, and scrollbars of a typical Graphical User Interface etc., all are extended by the component classes.

- Component class is act as a listner class in Java.

If you not clear read the below :

The Component class is the abstract superclass of the Nonmenu-Related Abstract Window Toolkit components. Class Component can also be extended directly to create a lightweight component. A lightweight component is a component that is not associated with a native opaque window.
10 years ago
What is difference between Design Pattern and FrameWork ? help me out
10 years ago
for Loops
A for loop is used to repeat a statement until a condition is met.

for (initialization; test; increment) {

while Loops
The while loop repeats a statement for as long as a particular condition remains true.
Here’s an example:
while (a<3) {
x = x * a++; // the body of the loop

do-while Loops
The do loop is just like a while loop with one major difference—the place in the loop
when the condition is tested.
A while loop tests the condition before looping, so if the condition is false the first
time it is tested, the body of the loop never executes.
A do loop executes the body of the loop at least once before testing the condition, so if
the condition is false the first time it is tested, the body of the loop already will have
executed once.
int a=1;
do {
a *= 3;
System.out.print(a + “ “);
} while (a < 30);
10 years ago