××× این کتاب به درخواست اعضای کانال گذاشته شده است ×××
Introduction to JAVA Programming Comprehensive Version
نویسنده Y.Daniel Liang
لازم به ذکر است که این کتاب Edition نهم می باشد و نوبت چاپ این Edition متعلق به سال 2013 می باشد و جدید ترین Edition این کتاب نیست
و برای آموزش برنامه های گرافیکی از کتابخانه ی Swing استفاده میکند
@de_coder
Introduction to JAVA Programming Comprehensive Version
نویسنده Y.Daniel Liang
لازم به ذکر است که این کتاب Edition نهم می باشد و نوبت چاپ این Edition متعلق به سال 2013 می باشد و جدید ترین Edition این کتاب نیست
و برای آموزش برنامه های گرافیکی از کتابخانه ی Swing استفاده میکند
@de_coder
Html :
<svg width="340" height="490">
<!--legs-->
<rect x="95" y="340" width="60" height="110" fill="black" rx="30" ry="35"/>
<rect x="80" y="405" width="70" height="50" fill="black" rx="40" ry="35"/>
<rect x="180" y="345" width="60" height="110" fill="black" rx="30" ry="35"/>
<rect x="182" y="405" width="70" height="50" fill="black" rx="40" ry="35"/>
<!--body-->
<rect x="60" y="195" width="80" height="60" fill="black" rx="40" ry="35"/>
<rect x="55" y="200" width="110" height="115" fill="black" rx="30" ry="35"/>
<rect x="200" y="195" width="80" height="60" fill="black" rx="40" ry="35"/>
<rect x="175" y="200" width="110" height="115" fill="black" rx="30" ry="35"/>
<ellipse cx="170" cy="280"
rx="95" ry="100" fill="white" stroke="black" stroke-width="3" />
<rect x="70" y="200" width="195" height="50" fill="black" rx="35" ry="5"/>
<!--ears-->
<circle r="40px" fill="black" cx="225" cy="85" /> </circle>
<circle r="40px" fill="black" cx="120" cy="85" /> </circle>
<!--head-->
<ellipse cx="170" cy="150"
rx="85" ry="75" fill="white" stroke="black" stroke-width="3" />
<ellipse cx="205" cy="130"
rx="20" ry="25" fill="black" />
<ellipse cx="135" cy="130"
rx="20" ry="25" fill="black" />
<circle r="10px" fill="white" cx="135" cy="130" /> </circle>
<circle r="10px" fill="white" cx="205" cy="130" /> </circle>
<circle r="6px" fill="black" cx="135" cy="130" /> </circle>
<circle r="6px" fill="black" cx="205" cy="130" /> </circle>
<circle r="2px" fill="white" cx="136" cy="128" /> </circle>
<circle r="2px" fill="white" cx="206" cy="128" /> </circle>
<ellipse cx="170" cy="165"
rx="13" ry="10" fill="black" />
<ellipse cx="170" cy="185"
rx="12" ry="9" fill="white" stroke="black" stroke-width="4" />
<rect x="150" y="174" width="45" height="14" fill="white" />
<!--background-->
<rect x="5" y="435" width="335" height="60" fill="green" />
@de_coder
<svg width="340" height="490">
<!--legs-->
<rect x="95" y="340" width="60" height="110" fill="black" rx="30" ry="35"/>
<rect x="80" y="405" width="70" height="50" fill="black" rx="40" ry="35"/>
<rect x="180" y="345" width="60" height="110" fill="black" rx="30" ry="35"/>
<rect x="182" y="405" width="70" height="50" fill="black" rx="40" ry="35"/>
<!--body-->
<rect x="60" y="195" width="80" height="60" fill="black" rx="40" ry="35"/>
<rect x="55" y="200" width="110" height="115" fill="black" rx="30" ry="35"/>
<rect x="200" y="195" width="80" height="60" fill="black" rx="40" ry="35"/>
<rect x="175" y="200" width="110" height="115" fill="black" rx="30" ry="35"/>
<ellipse cx="170" cy="280"
rx="95" ry="100" fill="white" stroke="black" stroke-width="3" />
<rect x="70" y="200" width="195" height="50" fill="black" rx="35" ry="5"/>
<!--ears-->
<circle r="40px" fill="black" cx="225" cy="85" /> </circle>
<circle r="40px" fill="black" cx="120" cy="85" /> </circle>
<!--head-->
<ellipse cx="170" cy="150"
rx="85" ry="75" fill="white" stroke="black" stroke-width="3" />
<ellipse cx="205" cy="130"
rx="20" ry="25" fill="black" />
<ellipse cx="135" cy="130"
rx="20" ry="25" fill="black" />
<circle r="10px" fill="white" cx="135" cy="130" /> </circle>
<circle r="10px" fill="white" cx="205" cy="130" /> </circle>
<circle r="6px" fill="black" cx="135" cy="130" /> </circle>
<circle r="6px" fill="black" cx="205" cy="130" /> </circle>
<circle r="2px" fill="white" cx="136" cy="128" /> </circle>
<circle r="2px" fill="white" cx="206" cy="128" /> </circle>
<ellipse cx="170" cy="165"
rx="13" ry="10" fill="black" />
<ellipse cx="170" cy="185"
rx="12" ry="9" fill="white" stroke="black" stroke-width="4" />
<rect x="150" y="174" width="45" height="14" fill="white" />
<!--background-->
<rect x="5" y="435" width="335" height="60" fill="green" />
@de_coder
همکاری انقلابی مایکروسافت و کوالکام: اجرای نسخه کامل ویندوز ۱۰ با پردازنده های ARM :
چند هفته پیش خبر رسید که مایکروسافت به دنبال اجرای اپلیکیشن های مبتنی بر معماری x86 در ویندوز ۱۰ است. در آن خبر گفته شده بود که اهالی ردموند احتمالاً نتیجه این تلاش را در نسخه «Redstone 3» اعلام خواهند کرد.
ساعاتی پیش ولی مایکروسافت و کوالکام به شکل مشترک اعلام کردند که موفق شده اند نسخه کامل و دسکتاپ ویندوز ۱۰ را با استفاده از پردازنده های ARM و برابرساز اپلیکیشن های x86 اجرا کنند. به همین شکل چیپست های مجتمع اسنپدراگون، نخسیتن سیستم-بر-چیپ های موبایلی خواهند بود که از نسخه کامل ویندوز ۱۰ پشتیبانی می کنند.
البته باید به خاطر داشت که این اولین تلاش مایکروسافت برای استفاده از پردازنده های مبتنی بر ARM نیست. چند سال پیش مایکروسافت سیستم عاملی خلق کرد به نام ویندوز RT که با شکست مواجه شد. اکنون این شرکت یک برابر ساز برای نرم افزارهای x86 win32 توسعه داده که درون لایه های خود ویندوز جای گرفته و بدون اینکه متوجه شوید، می تواند اپلیکیشن هایی که بر مبنای معماری x86 نوشته شده اند را با پردازنده ARM اجرا کند.
مزیت اصلی استفاده از پردازنده های مبتنی بر تکنولوژی ARM، افزایش قابل توجه عمر باتری دستگاه است. چیپ های ساخت اینتل از مصرف باتری بالایی برخوردارند و در سال آینده و زمانی که ابزارهای ویندوزی با چیپ های موبایلی عرضه شوند، می توان شاهد افزایش شدید عمر باتری آنها بود.
@de_coder
چند هفته پیش خبر رسید که مایکروسافت به دنبال اجرای اپلیکیشن های مبتنی بر معماری x86 در ویندوز ۱۰ است. در آن خبر گفته شده بود که اهالی ردموند احتمالاً نتیجه این تلاش را در نسخه «Redstone 3» اعلام خواهند کرد.
ساعاتی پیش ولی مایکروسافت و کوالکام به شکل مشترک اعلام کردند که موفق شده اند نسخه کامل و دسکتاپ ویندوز ۱۰ را با استفاده از پردازنده های ARM و برابرساز اپلیکیشن های x86 اجرا کنند. به همین شکل چیپست های مجتمع اسنپدراگون، نخسیتن سیستم-بر-چیپ های موبایلی خواهند بود که از نسخه کامل ویندوز ۱۰ پشتیبانی می کنند.
البته باید به خاطر داشت که این اولین تلاش مایکروسافت برای استفاده از پردازنده های مبتنی بر ARM نیست. چند سال پیش مایکروسافت سیستم عاملی خلق کرد به نام ویندوز RT که با شکست مواجه شد. اکنون این شرکت یک برابر ساز برای نرم افزارهای x86 win32 توسعه داده که درون لایه های خود ویندوز جای گرفته و بدون اینکه متوجه شوید، می تواند اپلیکیشن هایی که بر مبنای معماری x86 نوشته شده اند را با پردازنده ARM اجرا کند.
مزیت اصلی استفاده از پردازنده های مبتنی بر تکنولوژی ARM، افزایش قابل توجه عمر باتری دستگاه است. چیپ های ساخت اینتل از مصرف باتری بالایی برخوردارند و در سال آینده و زمانی که ابزارهای ویندوزی با چیپ های موبایلی عرضه شوند، می توان شاهد افزایش شدید عمر باتری آنها بود.
@de_coder
import java.util.Calendar;
public class GetCurrentDateTimeExample {
public static void main(String[] args) {
//get instance of Calendar class
Calendar now = Calendar.getInstance();
/*
* Calendar class has several contstants which represents current date
* and time values
*/
//get current date, year and month
System.out.println("Current Year is : " + now.get(Calendar.YEAR));
//month start from 0 to 11
System.out.println("Current Month is : " + (now.get(Calendar.MONTH) + 1 ));
System.out.println("Current Date is : " + now.get(Calendar.DATE));
//get current time information
System.out.println("Current Hour in 12 hour format is : "
+ now.get(Calendar.HOUR));
System.out.println("Current Hour in 24 hour format is : "
+ now.get(Calendar.HOUR_OF_DAY));
System.out.println("Current Minute is : " + now.get(Calendar.MINUTE));
System.out.println("Current Second is : " + now.get(Calendar.SECOND));
System.out.println("Current Millisecond is : " + now.get(Calendar.MILLISECOND));
//display full date time
System.out.println("Current full date time is : " +
(now.get(Calendar.MONTH) + 1)
+ "-"
+ now.get(Calendar.DATE)
+ "-"
+ now.get(Calendar.YEAR)
+ " "
+ now.get(Calendar.HOUR_OF_DAY)
+ ":"
+ now.get(Calendar.MINUTE)
+ ":"
+ now.get(Calendar.SECOND)
+ "."
+ now.get(Calendar.MILLISECOND)
);
System.out.println("De.coder();\nDeveloped by : JR.Y");
}
}
@de_coder
public class GetCurrentDateTimeExample {
public static void main(String[] args) {
//get instance of Calendar class
Calendar now = Calendar.getInstance();
/*
* Calendar class has several contstants which represents current date
* and time values
*/
//get current date, year and month
System.out.println("Current Year is : " + now.get(Calendar.YEAR));
//month start from 0 to 11
System.out.println("Current Month is : " + (now.get(Calendar.MONTH) + 1 ));
System.out.println("Current Date is : " + now.get(Calendar.DATE));
//get current time information
System.out.println("Current Hour in 12 hour format is : "
+ now.get(Calendar.HOUR));
System.out.println("Current Hour in 24 hour format is : "
+ now.get(Calendar.HOUR_OF_DAY));
System.out.println("Current Minute is : " + now.get(Calendar.MINUTE));
System.out.println("Current Second is : " + now.get(Calendar.SECOND));
System.out.println("Current Millisecond is : " + now.get(Calendar.MILLISECOND));
//display full date time
System.out.println("Current full date time is : " +
(now.get(Calendar.MONTH) + 1)
+ "-"
+ now.get(Calendar.DATE)
+ "-"
+ now.get(Calendar.YEAR)
+ " "
+ now.get(Calendar.HOUR_OF_DAY)
+ ":"
+ now.get(Calendar.MINUTE)
+ ":"
+ now.get(Calendar.SECOND)
+ "."
+ now.get(Calendar.MILLISECOND)
);
System.out.println("De.coder();\nDeveloped by : JR.Y");
}
}
@de_coder