LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Sat Jun 24 10:02:21 CEST 2006
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/06/06 24:10:02

    Added: jop/java/target/src/test/wcet Child.java Parent.java
    Log:
    Inheritance example


    Revision Changes Path
    1.1 jop/java/target/src/test/wcet/Child.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/test/wcet/Child.java?rev=1.1&content-type=text/x-cvsweb-markup

    Index: Child.java
    ===================================================================
    package wcet;

    public class Child extends Parent{
    public static void main(String[] args){
    measure();
    }

    public static void measure(){
    loop();
    }
    }



    1.1 jop/java/target/src/test/wcet/Parent.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/test/wcet/Parent.java?rev=1.1&content-type=text/x-cvsweb-markup

    Index: Parent.java
    ===================================================================
    package wcet;

    public abstract class Parent {
    public static void loop() {
    int k=3;
    }
    }



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.