不同类型的对象传递

人气:1,045 发布:2022-09-10 标签: java android

问题描述

我的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.

931