What is the output of this code ?
class Test{
public static void main(){
int a = 2,b,c;
b = a++;
c = ++b;
a = b++ * c++;
System.out.print(a);
}
}
Last Program Output : slipstream slip stream
Java-J2SE Example
This page is for educational purpose only maintained. We are provide java example and optimze solution of java program if possible. plz like it ....
What is the output of this code ?
class PassS
{
public static void main(String [] args)
{
PassS p = new PassS();
p.start();
}
void start()
{
String s1 = "slip";
String s2 = fix(s1);
System.out.println(s1 + " " + s2);
}
String fix(String s1)
{
s1 = s1 + "stream";
System.out.print(s1 + " ");
return "stream";
}
}
What is the output of this code ?
for(int i = 0; i < 8 ; i++){
if(i == 2){
i++;
continue;
}
if(5*i == 20) break;
else System.out.print( 5*i);
}
What is output of this program.
public static void main(){
int a = 20,b=30;
if(a!= 20 & b++ == 30);
System.out.print(a + ' : ' + b);
}
http://codepen.io/avanish1707/post/how-to-use-image-map-in-html
How to use image-map in html A element define the client side image-map. Image-map is a image with different-different clickable area. element have a required attribute name. 's name...
Blog url change please check this all past post here.
http://avanish1707.blogspot.in/
Hello guys blog available for this page. Page have lots of Java example. Please like and if you need some new example you can comment your question in any post.
LinkedHashSet Class Example
import java.util.*;
class LinkedHashSetDemo
{ public static void main(String args[])
{ // Create a hash set.
LinkedHashSet hs = new LinkedHashSet();
// Add elements to the hash set.
hs.add("B");
hs.add("A");
hs.add("D");
hs.add("E");
hs.add("C");
hs.add("F");
System.out.println(hs);
}
}
See more java Example on http://avanish1707.blogspot.in/
15/05/2015
01 ~ अब तक खोजे गए सबसे अँधेरे ग्रह का नाम
क्या है?
उत्तर- टीआरईएस-2
Happy mother's day to all
Click here to claim your Sponsored Listing.
Location
Category
Address
Delhi
110092