Here it goes (using do....while)
class One2Ten
{
public void display()
{
int a = 1;
do
...
Type: Posts; User: Lokesh
Here it goes (using do....while)
class One2Ten
{
public void display()
{
int a = 1;
do
...
Let's take an example
int a = 1;
for(;a>0;a++)
In the code above the condition is always true so the loop is infinite but int datatype have a limit so what will happen if value of "a"...
Please explain their working.(with short example )
The program's output is n't correct
Here's the code......
import java.io.*;
class Vowels
{
void Input()throws IOException
I was wondering about this.Please help
I know that when used alone both prefix postfix work the same way but in expressions it behaves differently when combined.:confused:
int a=1,b=3,c=4,d=0;
d=a-(b++)*(c++)
please explain...
Hi everyone