|
Discussion about Windows programming languages, web,unix There's always time to learn new things about weblog this weblog created for help to Undergraduate students in sadjad and khayam and khavaran and another Universities manager weblog : میلاد احمدی last content weblog archive writer today image news of world software سه شنبه 2 خرداد 1391 :: writer : میلاد احمدی
labeling connected components in binary images. Here's an example. نوع مطلب : labels : چهارشنبه 16 فروردین 1391 :: writer : میلاد احمدی
linux terminal command: id = for get last name,group,... who=date and time and name of enter of default user pwd=current path for default user you typing command front of $ in terminal in linux نوع مطلب : linux_ubuntu، labels : شنبه 12 فروردین 1391 :: writer : میلاد احمدی
java structure type : 1: class ( Abstract) // A Simple
demonstration of abstract. abstract class A {
abstract void callme(); // concrete
methods are still allowed in abstract classes void callmetoo() {
System.out.println("This is
a concrete method."); }
} class B extends A {
void callme() {
System.out.println("B's
implementation of callme."); }
} class AbstractDemo {
public static void main(String
args[]) {
B
b = new B(); b.callme();
b.callmetoo();
}
} نوع مطلب : java، labels : شنبه 12 فروردین 1391 :: writer : میلاد احمدی
java structure type : 1: class (Inheritance) public class Bicycle { // the Bicycle
class has // three
fields // کلاس دوچرخه سه فیلد هماهنگی و چرخ دنده وسرعت دارد public int cadence; public int gear; public int speed; // کلاس دوچرخه یک سازنده دارد برای مقدار دهی اولیه به //سه متغییر تعریف شده // the Bicycle
class has // one
constructor public Bicycle(int startCadence, int startSpeed, int startGear) { gear = startGear; cadence = startCadence; speed = startSpeed; } //چهار متد برای کلاس دوچرخه // the Bicycle
class has // four
methods public void setCadence(int newValue) { cadence = newValue; } public void setGear(int newValue) { gear = newValue; } public void applyBrake(int decrement) { speed -= decrement; } public void speedUp(int increment) { speed += increment; } } public class MountainBike extends Bicycle { //کلاس دوچرخه کوهستانی از کلاس دوچرخه مشتق شده به وسیله //کلمه extends // the
MountainBike subclass has // one field public int seatHeight; // the
MountainBike subclass has // one
constructor public MountainBike(int startHeight, int startCadence, int startSpeed, int startGear) {
//متد سوپر برای شناساندن سه متغییر تعریف شده //در سازنده به متد سازنده کلاس پایه می باشد super(startCadence,
startSpeed, startGear); seatHeight = startHeight; } // the
MountainBike subclass has // one method public void setHeight(int newValue) { seatHeight = newValue; } } نوع مطلب : java، labels : شنبه 12 فروردین 1391 :: writer : میلاد احمدی
java type : boolean byte short char int long float double reference (like :pointer in c++) "مانند اشاره گرها در سی" java structure type : 1:class public class Simple { int Value; void SetValue(int Setting) { Value=setting; } int Getvalue() { return(Value); } } نوع مطلب : java، labels : جمعه 26 اسفند 1390 :: writer : میلاد احمدی
Happy New Year i and friends have new try for learn java and implimentation full of new programs with java . for initial work with java you should download jdk from : Similarly you can download jre and NetBeans نوع مطلب : متفرقه، labels : شنبه 8 بهمن 1390 :: writer : میلاد احمدی
you can download full of power point for course of internet engineering in :
نوع مطلب : متفرقه، labels : contents today link links Statistics weblog
friendes message weather situation |
||
|
|