Skip to main content

Posts

Showing posts from September, 2017

Java Program Development Process

Figure: Java program development, compiling and running flowchart

JVM - Advantages

> Advantages of Java Virtual Machine: Java is the first truly portable language. This is because of JVM architecture which offers several advantages such as: cross-platform portability and security. Cross platform portability: The JVM provides cross-platform portability. The programs are written for the JVM, not for the operating system (OS). Because all JVMs look the same to Java programs, you have to write only one version of your program, and it will work on all JVMs. The JVM interprets the byte-code and carries out the program's operations in a way that is compatible with the current hardware architecture and operating system. Security: Java has been designed to protect users from malicious programs. Programs from an untrusted source (for example, the Internet) execute in a restricted environment (known as a sandbox). The JVM can then prevent those programs from causing mischief. For example, a Java applet (a small program that runs on a Web page) usually can&

Java's Magic (Byte codes)

> What is JVM? What are Bytecodes (Java’s Magic): JVM is an abbreviation for Java Virtual Machine, which is a set of tools used to execute Java programs. JVM serves as the intermediary between your program and the host computer. Running a java program is a two-step process: With the compiler, first you translate a program into an intermediate language called Java bytecodes—the platform-independent codes interpreted by the interpreter on the Java platform. The interpreter parses and runs each Java bytecode instruction on the computer. Compilation happens just once; interpretation occurs each time the program is executed. Figure: Programs written in the Java programming language are first compiled and then interpreted. Bytecode is a highly optimized set of instructions designed to be executed by the Java run-time system, which is called the Java Virtual Machine (JVM). That is, in its standard form, the JVM is an interpreter for bytecode. Java bytecodes

Landing Post (Introduction)

Welcome to SeekProgramming! hether you are an experienced programmer or not, this blog is created for everyone who wishes to learn Software Development. The motive of this blog is to simplify programming in an interactive way for students, professionals and educators. Here... You'll be exposed to fundamental programming concepts You'll be given lots of (and really lots of ) programming questions to solve, which will increase your computing skills as well as mathematical ability. You'll get Quiz questions to practice, which will help you participate in Software company interviews and exams I am also preparing you for Certified Developer courses (from Oracle, IBM etc) also. You'll have my Skype ID also, so you can catch hold of me anytime, in case of urgent queries, or e-mail me. Explore HERE

Relevant to YOU: