Q: What is an empty statement that does nothing?

Write your answer...

Submit

Still have questions?

Continue Learning about Math & Arithmetic

The empty set is open because the statement: "if x in A, some neighborhood of x is a subset of A" is true! If A is empty, the hypothesis: "if x in A" is false and so the statement is vacuously true.

An empty set is this { } It's just a set with nothing in it.

An empty set becomes an empty set by virtue of its definition which states that it is a set that contains no elements. In other words, it contains nothing, it is empty!

Yes - because, if something is an object of the null set, then it is also an element of the other set. Since nothing is an element of the empty set, the above statement is trivially true.

Because its still a set, although its empty or nothing in that set {} {0} * * * * * The second example above is NOT of an empty set: it is the set that contains the number zero.

Related questions

empty statement does nothing, 'missing statement' is an error-message from the compiler, eg: { if (x==2) } corrected version: { if (x==2); }

An empty set is one that contains nothing. It does not contain zero, but nothing.An empty set is one that contains nothing. It does not contain zero, but nothing.An empty set is one that contains nothing. It does not contain zero, but nothing.An empty set is one that contains nothing. It does not contain zero, but nothing.

Something that is empty with nothing inside is called "void".

An empty statement in Java is just that: a statement with nothing in it. There are typically two ways to represent this:A single semicolon ;An empty block {}The usefulness of this type of statement is limited. The main use that I can think of is to fulfill the statement required for a loop structure.Here is an example that I recently used:while (sf(++n) != i);This loop will constantly call the method sf with increasing values of n until the return value of sf(n) is equal to i. Each loop in Java must have some code to execute in the loop body. In this case, all necessary work is done in the condition, and so the mandatory loop body is an empty statement.While there may be other (more clear) ways of writing this bit of code, this is an example of where that empty statement can be used.

nothing means basically a empty space or a empty void

its empty. nothing comes out of it

The empty set is open because the statement: "if x in A, some neighborhood of x is a subset of A" is true! If A is empty, the hypothesis: "if x in A" is false and so the statement is vacuously true.

It is empty

it is like (empty) zero or nothing at all

By definition, an empty bottle has nothing inside.

Nothing because it is empty

Probably nothing considering its empty.. but it depends on where you get it