This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!

Daksh Sharma

Greenhorn
+ Follow
since Oct 27, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Daksh Sharma

It cud be done using window.close() but then pop window will ask u whether u want to close the window or not

Offcourse this is javascript
15 years ago
Well ,
Khalid A Mughal's Book A programmers guide to Java Certification States Clearly that

== is called as a equality operator

What i want to say is that for comparison b/w 2 operands like x and y u will use a == operator rather than = operator.

Example has been shown in above posts also

1 if(x===y)

Consider this

x=3 and x==3 are not same

First statement x=3 means that the value of x is 3

x==3 is like checkinh whether x==3 or not

We can also compare objects using references with this == operator

The assignment operator (=) is used to assign a value to a variable, element of an array, or property of an object. Here are a few examples of using the assignment operator:



The equality operator (==) is used to compare two values or expressions. It is used to compare numbers, strings, Boolean values, variables, objects, arrays, or functions. The result is TRUE if the expressions are equal and FALSE otherwise. How items are compared depends on their data type
15 years ago
jvm
Lund's Post (Extract)

It looks like the above explains what each of these are quite well. However, the actual meaning of these acronyms seems to be missing, so I thought I'd post them

My dear Lund if u look at my answer properly i have mentioned the acronyms for all the 4 terms... U r requested to go thru it again..
15 years ago
jvm
JRE has to meet JVM specification ... but that is not in JDK coz JVM is embedded in it...

Thus this makes running files on JRE alone diff.
15 years ago
jvm
Speaking practically JDK is essential for developers, which comes along with library packages to develop Software programmes.

While JRE is minimal set of programmes which executes the java class files developed by the software developers

Your questions answer shud be no for me

Best thing u can do is try running on jre a java program
15 years ago
jvm
Hello i have extracted all these from the net.. have a look it explains all... I have repeated some lines so as to clear concept

Right now u r having java right installed on ur m/c that u can term as JDK and ur JRE is a subset(part of JDK) jre does not have javac it is like minimum environment needed for running java stuff. JVM is a part of JRE

JDK includes JRE which consists and jvm and other things..

SDK used to be called JDK before..


JDK means Java Development Kit

The Java Development Kit is a software development package from Sun Microsystems which implements a basic set of tools which are required in order to develop, test and debug Java applications and Applets. This software is freely downloadable from the internet

Like if any one asks u what is jdk ur answer shud be it is a s/w that includes APIs (application programming interfaces ) and tools that developers need inorder to build applications for version which came after java2 platform..

It is the basic set of tools that is needed to write and test and debug the java applications

If u say that it is a s/w development package then that is also perfectly all right

All ur javac (the java compiler is present in it) ... i hope u can get my meaning...

for running java applications u need javac,java interpreter and various other things u can check it by going to your java installation directory and look under jdk/bin path..

JVM
Stands for Java Virtual Machine

Before reading check this post..
http://www.javaranch.com


JVM is contained under JRE

Machine - An abstract computing machine, or virtual machine, JVM is a platform-independent programming language that converts Java bytecode into machine language and executes it. Most programming languages compile source code directly into machine code that is designed to run on a specific microprocessor architecture or operating system, such as Windows or UNIX. A JVM -- a machine within a machine -- mimics a real Java processor, enabling Java bytecode to be executed as actions or operating system calls on any processor regardless of the operating system. For example, establishing a socket connection from a workstation to a remote machine involves an operating system call. Since different operating systems handle sockets in different ways, the JVM translates the programming code so that the two machines that may be on different platforms are able to connect.


JVM Is responsible for making java code platform independent

It is used to converting the javabyte code into machine language and executing it...

It can be termed as a Computing machine or Virtual Machine a software again


JRE :

JavaTM runtime environment)

A subset of the Java Development Kit (JDK) for users and developers who want to redistribute the runtime environment. The Java runtime environment consists of the Java virtual machine (JVM), the Java core classes, and supporting files.


The Java Runtime Environment (JRE) is the minimum standard Java platform for running applications written in the Java programming language. It contains the Java Virtual Machine, Java core classes, and supporting files. The JRE does not contain any of the development tools (such as appletviewer or javac) or classes that pertain only to a development environment
JRE


SDK

A set of programs that allows software developers to create products to run on a particular platform or to work with an API

A kit that programmers can use to create new applications.

A software development kit (SDK) for creating Java programms of version 1.2 Sun, JavaTM 2 Platform, Standard Edition
An environment distributed by Sun Microsystems that includes the Java compiler. SDK used to be called JDK.


jdk includes jre and jre includes jvm
15 years ago