FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
Dobbs M-Dev
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
February 01, 2006

Native Queries for Persistent Objects

(Page 2 of 11)
February, 2006: Native Queries for Persistent Objects

(a)

// Java
public class Student {
   private String name;
   private int age;
   public String getName(){
      return name;
   }
   public int getAge(){
      return age;
   }
}


(b)
// C#
public class Student {
   private string name;
   private int age;
   public string Name {
      get { return name; }
   }
   public int Age {
      get{ return age; }
   }
}

Example 1: (a) Java class; (b) C# class.

Previous Page | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 Next Page
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK