Your SlideShare is downloading. ×
Byte code jvm
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Byte code jvm

330
views

Published on


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
330
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Byte code of Java and OOP concepts 1
  • 2. ObjectivesOn completion of this period, you would be able to know :• The byte codes of Java• jvm 2
  • 3. Recap• What are the features of Java Applications and Applets ? 3
  • 4. Byte codes of Java, JVM• All language compilers translate source code into machine code for a specific computer• Java compiler also does the same thing• The Java compiler produces an intermediate code known as ‘Byte code’ for a machine 4
  • 5. Contd.. Byte codes of Java, JVM• This machine is called the Java Virtual Machine(JVM)• JVM is a platform-independent execution environment that converts Java byte code into machine language and executes it• It exists only inside the computer memory• Fig 4.1. illustrates the process of compiling a Java program into byte code 5
  • 6. Contd.. Byte codes of Java, JVMJava Program Java Compiler Byte CodeSource Code Virtual machine instructions Fig 4.1 Byte code 6
  • 7. Contd.. Byte codes of Java, JVM• Byte code is also known as virtual machine code• The virtual machine code is not machine code• The machine code is generated by the Java interpreter• Byte code acts as an intermediatery between the virtual machine and the real machine as shown in Fig. 4.2 7
  • 8. Contd.. Byte codes of Java, JVMFig. 4.2 Byte code translation to machine code 8
  • 9. SummaryIn this class we have discussed• Byte codes of Java, JVM• OOP concepts 9
  • 10. Quiz1.All language compilers translate _________ into machine codea) Object Codeb) Source Codec) Executable coded) All the above 10
  • 11. Frequently Asked Questions• Explain JVM• Explain Byte Codes of JAVA• What are the Concepts of OOP• Explain the OOP Concepts 11