Java Down transformation

Source: Internet
Author: User

1.Java in the parent class directly to the subclass transformation of the illegal, can compile but run the times wrong.

The Java sub-class is legitimate to transform directly to the parent class, but after the transformation, the methods that can be executed are only available in the parent class, and when executed, the child class is defined, executed, and not executed in the parent class.

2.JVM JIT compiler, compile hotspot code for the machine code can be executed directly, improve the efficiency of program execution; it is single-threaded, daemon.

3.MySQL two kinds of common storage engine for InnoDB and MyISAM, what are the characteristics of each?

4. What is a virtual machine stack and what is a heap?

Virtual machine stack is thread-private, save local variable table, operand stack, dynamic link, method exit, etc., heap is thread-shared, Save object information (hash code specified in object header, thread private lock, lock state identity, bias thread ID, GC generational age, etc.);

Java Down transformation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.