不同类型的对象传递 [英] Different type object passing

查看:110
本文介绍了不同类型的对象传递的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Andr​​oid和java.I初学者也不会明白,当对象pass.Object传球,当然需要实现Serializable接口。

I am beginner of android and java.I did no understand when object pass.Object pass of course need implement Serializable.

0.When不要使用序列化?它是什么?

0.When do use Serializable? what is it?

1.什么是对象和包类。

1.what is Object and Bundle Class.

2,当使用对象和包传递对象

2.When use Object and Bundle for passing Object

3.Do支持对象和包对象中的所有数据类型的对象?

3.Do support Object and Bundle object all data type object?

请帮忙me.Thanks

please help me.Thanks

推荐答案

这是非常模糊的你所要求的,但序列化对象可以转化成比特流,可以反序列化回对象。您可以使用此克隆,对象,把它们放在一个流,或送他们在网络上。

It is really vague what you are asking but serializable objects can be transformed into a stream of bits that can be deserialized back into the object. You can use this to clone, objects, put them in a stream, or send them over a network.

这篇关于不同类型的对象传递的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆