Click here to Skip to main content
15,867,686 members
Home / Discussions / Java
   

Java

 
GeneralRe: Drawing in a canvas Pin
rareseu8-May-09 23:28
rareseu8-May-09 23:28 
Questionneed help Pin
ahmedbhatti8-May-09 9:30
ahmedbhatti8-May-09 9:30 
AnswerRe: need help Pin
fly9048-May-09 10:08
fly9048-May-09 10:08 
Questioncomparing images in java Pin
nicks112858-May-09 2:44
nicks112858-May-09 2:44 
AnswerRe: comparing images in java Pin
Tyler458-May-09 5:04
Tyler458-May-09 5:04 
Questionlabel in java Pin
9002code7-May-09 20:53
9002code7-May-09 20:53 
AnswerRe: label in java Pin
rareseu7-May-09 21:07
rareseu7-May-09 21:07 
GeneralRe: label in java Pin
9002code7-May-09 21:29
9002code7-May-09 21:29 
class jumping
{
public static void main(String[] args)
{
int b,c;
float a;
b=8;
c=2;
test:
{

a=b/c;
System.out.println("a first is" +a);
while(a<=10)
{
b++;
System.out.println("b in continue is " +b);
if(b==12)
{
break test;
}
System.out.println("a final is" +a);
continue test;
}

}
}
}

i want if b not equal to 12 then "a final is" is print. and b increase and also a is but it not?

"kindly help me in java for using label/jump like goto in c++"
GeneralRe: label in java Pin
rareseu7-May-09 21:32
rareseu7-May-09 21:32 
GeneralRe: label in java Pin
9002code7-May-09 21:43
9002code7-May-09 21:43 
GeneralRe: label in java Pin
Nagy Vilmos7-May-09 22:30
professionalNagy Vilmos7-May-09 22:30 
Questionhelp in coding aprogram Pin
harshad bhatia6-May-09 22:01
harshad bhatia6-May-09 22:01 
AnswerRe: help in coding aprogram Pin
Nagy Vilmos6-May-09 22:05
professionalNagy Vilmos6-May-09 22:05 
GeneralWelcome in the CP's memorable quotes list Pin
CPallini8-May-09 11:12
mveCPallini8-May-09 11:12 
Questionhi Pin
yogesh_softworld1236-May-09 15:11
yogesh_softworld1236-May-09 15:11 
AnswerRe: hi Pin
fly9046-May-09 23:04
fly9046-May-09 23:04 
GeneralRe: hi Pin
EliottA8-May-09 5:58
EliottA8-May-09 5:58 
Questiontcp server applet Pin
rareseu6-May-09 7:23
rareseu6-May-09 7:23 
AnswerRe: tcp server applet Pin
rareseu6-May-09 10:02
rareseu6-May-09 10:02 
AnswerRe: tcp server applet Pin
zhaonameloc7-May-09 3:40
zhaonameloc7-May-09 3:40 
AnswerRe: tcp server applet Pin
Nagy Vilmos7-May-09 4:41
professionalNagy Vilmos7-May-09 4:41 
GeneralRe: tcp server applet Pin
rareseu7-May-09 8:04
rareseu7-May-09 8:04 
Questioncall c# function in java Pin
raesa5-May-09 1:41
raesa5-May-09 1:41 
AnswerRe: call c# function in java Pin
Nagy Vilmos5-May-09 2:37
professionalNagy Vilmos5-May-09 2:37 
GeneralRe: call c# function in java Pin
raesa5-May-09 2:40
raesa5-May-09 2:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.