我们可以在BCEL的堆栈操作数上推送自定义类型对象吗? [英] Can we push a Custom Type Object on Stack Operand in BCEL?

查看:56
本文介绍了我们可以在BCEL的堆栈操作数上推送自定义类型对象吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Experts

在BCEL中,我们可以将基本类型推入Operand堆栈中.但是现在我想我们可以在BCEL中将自定义类型对象压入堆栈吗?

Hi Experts

In BCEL we can push primitive types on Operand Stack. BUT now i want to Can we push a Custom Type Object on Stack in BCEL.

thanks in advance.

推荐答案

我不能肯定地告诉您BCEL的工作原理,但总的来说答案是否定的.
堆栈不包含任何引用对象,这些引用对象存在于堆中,但是它将保存指向堆中内存位置的引用变量.
I can''t tell you for certain how BCEL works, but in general principal the answer is no.
The stack does not contain any reference objects, these exist in the heap, but it will hold the reference variable that points to the memory location in the heap.


这篇关于我们可以在BCEL的堆栈操作数上推送自定义类型对象吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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