answersLogoWhite

0

Using "goto", even in languages where it is available, is generally considered bad programming practice.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Does java have goto?

Because goto statements usually result in hard to read code. This was a feature of C++ which the creators of Java decided they didn't want to allow.


How do you learn core java?

Goto a institute near by which teaches java and join in a batch......


Why goto keyword not used in java?

Goto leads to morememory waste age and multiple branching occurs so memory is wasted


What is the Meaning of go to statements in c?

A 'goto' statement is an unconditional requirement to go to that part of the program. As such, statements like these cause programs to become unstructured and should be avoided if possible. Goto statements lead to some sloppy and unreadable logic.


What are different types of control statements available in c?

1. goto, break, continue, return 2. if-else, switch-case-default 3. while, for, do-while


What is the pane in which the Java programming statements are located called?

The pane in which the Java programming statements are located is called


What are the three looping statements in java PL?

There are 4 different looping statements in Java. They are:While loopDo-While loopFor loopFor Each loop


What are the statements in java?

There are many kinds of statements that are used in Java and they are predominantly used for database connectivity using JDBCEx:PreparedStatement - for normal SQL QueriesCallableStatement - for stored procedures


What is a method in Java?

A Java method is a sequence of statements. It is comparable to a function, subroutine, or procedure in other languages.


What is go-to unconditional in c plus plus?

An unconditional goto is a goto that has no associated conditional expression. The following example demonstrates conditional and unconditional goto statements. int x=rand(); if (x) goto label_1; // conditional goto (when x is non-zero) else goto label_2; // conditional goto (when x is zero) label_1: // ... goto label_3; // unconditional goto (jump past label_2) label_2: // ... label_3: // ...


How many keywords in java 1.6?

As of Java 1.5, there are 50 keywords defined, 48 of which are used (const and goto are unusable keywords).abstractcontinuefornewswitchassertdefaultgotopackagesynchronizedbooleandoifprivatethisbreakdoubleimplementsprotectedthrowbyteelseimportpublicthrowscaseenuminstanceofreturntransientcatchextendsintshorttrycharfinalinterfacestaticvoidclassfinallylongstrictfpvolatileconstfloatnativesuperwhile


What are the uses of java database connectivity?

Java Database Connectivity, a Java API that enables Java programs to execute SQL statements. This allows Java programs to interact with any SQL-compliant database.