摘要:
---------------------- ASP.Net+Android+IOS开发、.Net培训、期待与您交流! --------------------- 继承是面向对象的核心特征之一。继承是已有类创建新类的机制。利用继承机制,可以先创建一个具有共性的一般类(父类),根据该一般类再创建具有特殊性的新类(子类),新类继承一般类的状态和行为,并根据需要增加它自己的新状态和行为。在java语言中,java只支持单继承,但是支持多层继承。通过继承,子类拥有父类的所有成员(成员变量和成员方法),子类不仅可以定义新的成员变量和成员方法,还可以对父类中的成员变量和方法进行更改,使累的功能得到扩展你. 阅读全文
阅读排行榜
自定义Dialog之Progress(二)
2013-05-28 19:45 by java20130722, 219 阅读, 收藏,
摘要:
自定义Dialog之Progress(二)系统的Dialog一般是适合UI设计的需求,那么就需要自定义的ProgressDialog.第一想法就是能在应用级别全局改变应用的ProgressDialog的样式。(已经试过,没有成功)做法是:@style/theme.customer_progress_dialog@style/theme.customer_progress_dialog 是自定义的theme如果有成功的,希望能分享下,谢谢。第二种做法是自定义theme, 然后定义一个ProgressDialog:CustomProgressDialog. 在应用里面就用这个.自定义theme:@ 阅读全文
Top JavaScript MVC Frameworks
2013-02-22 09:13 by java20130722, 219 阅读, 收藏,
摘要:
As more and more logic ends up being executed in the browser, JavaScript front-end codebases grow larger and more difficult to maintain. As a way to solve this issue developers have been turning to MVC frameworks which promise increased productivity and maintainable code. As part of the new communit 阅读全文
SqlDataReader使用
2012-03-06 21:37 by java20130722, 219 阅读, 收藏,
摘要:
using System.Data.SqlClient; namespace TestDB
{ class Program { static void Main(string[] args) { string strConn = @" server = (local); integrated security = true; database = Northwind "; ... 阅读全文
Real differences between “java -server” and “java -client”-JVM Server和JVM Client的不同
2013-07-22 18:33 by java20130722, 218 阅读, 收藏,
摘要:
This is really linked toHotSpotand the defaultoption values(Java HotSpot VM Options) which differ between client and server configuration.FromChapter 2of the whitepaper (The Java HotSpot Performance Engine Architecture):The JDK includes two flavors of the VM -- a client-side offering, and a VM tuned 阅读全文
浙公网安备 33010602011771号