EnglishFrenchGermanSpainItalianDutchPortugueseRussianKoreanJapaneseArabic Chinese Simplified

Tuesday, April 19, 2011

Java programming exercise (Jeliot 3)

Jeliot 3 is a Program Visualization application. It visualizes how a Java program is interpreted. Method calls, variables, operation are displayed on a screen as the animation goes on, allowing the student to follow step by step the execution of a program. Programs can be created from scratch or they can be modifyed from previously stored code examples.
The Java program being animated does not need any kind of additional calls, all the visualization is automatically generated. Jeliot 3 understands most of the Java constructs and it is able to animate them. Especial effort is currenlty being addressed to animate object oriented features, such as inheritance.


The Program Calculates The Volume Of A Simple Circle (With Class)

import jeliot.io.*;

class VolumeLingkaran {
    static void main() {
    double pi = 3.14;
    int r = Input.readInt();
  
    double Volume = (4/3)*pi*r*r*r;      
    System.out.println(Volume);
  
       
    }
}

The Lincoln Lawyer: A Novel21Kindle Wireless Reading Device, Wi-Fi, Graphite, 6" Display with New E Ink Pearl TechnologyKindle Wireless Reading Device, Wi-Fi, Graphite, 6" Display with New E Ink Pearl TechnologyHarry Potter and the Deathly Hallows, Part 1A World I Never Made

Artikel Terkait:

Comments :

0 comments to “Java programming exercise (Jeliot 3)”

Post a Comment

 

Copyright © 2009 by Learn Technology

Template by Blogger Templates | Powered by Blogger