Friday, June 13, 2014

Am back ,

Hey guys am back , after my tiring terminals , now the semester is end and i have a lot of summer vacations. so now i gonna upload many posts as possible for me . this time you will not get disappoint by my side

Sunday, May 18, 2014

MY Project :P

well i do apology to you guys , because i cant give you the more posts about PURE JAVA , actually i was busy in making my semester Project of Networking . i Want to share
 it with You guys. And my final exams are just about to come.Through this Messenger 2 persons can talk to each other while they are using 2 different end systems, cool huh... I promise i will give you the new posts as soon as possible , if any you you interested in knowing the code of this project Contact me on , twitter or Fb .
Follow me on :
   www.facebook.com/arslan.aliawan
     @arslanaliawan2   (twitter) 

Saturday, April 26, 2014

Java recommended Books

1 ) How to program Java by Dietel
2) First head in java
3) Beginning java ee with glass fish

You can download any latest versions of these books , believe me guys reading these books alongside with code , your concepts will go on top.
Choose any of it.

In 1st recommended book you can get a good source code related to many good programs like Instant messenger.
For syntax read first head in java.

 Follow me on :
   www.facebook.com/arslan.aliawan
     @arslanaliawan2   (twitter) 

Awan is back

Hello guys am back..My exams are over , dont ask me how they were gone . I can only tell you that they  are gone :D . Its quite natural  no one likes exams , same happens to me , but thanks To ALLAH i did my best and hope for the good result :D :v

 Follow me on :
   www.facebook.com/arslan.aliawan
     @arslanaliawan2   (twitter) 

Friday, April 18, 2014

Academic Exams ,

Hello guys , well i do apology because i promised to you guys  that i will give you the regular posts on Java.
Actually my Exams are started from the coming monday so thats why i am not able to upload till friday of the next week , i hope you people will understand..

 Follow me on :
   www.facebook.com/arslan.aliawan
     @arslanaliawan2   (twitter) 

Friday, April 11, 2014

what will happen to world without JAVA , must see

https://www.facebook.com/photo.php?v=235596923309770&set=vb.163839573818839&type=2&theater

/*Am sharing this link of fb , this link has a wonderful imagination / passion of  PURE  JAVA lovers
if you guys are on fb , then goo must see and share this video */

One class passing a variable to another class


    import java.util.Scanner;
public class Teaching {
      public static void main (String args[])
{
Scanner input = new Scanner(System.in);
tuna tunaobject = new tuna();
System.out.println("Enter your gf name please");
String temp =  input.nextLine();
tunaobject.setname(temp);
tunaobject.saying();
}
}


/*now make an other class with tuna name  or you can use an other name which suits you better *

class tuna {

 private String girlname;
  public  void setname(String name)
       {
     
 girlname=  name;
 }
  public String getname()
      {
return girlname;
}
 public void saying()
        {
        /* in this method i'll just using a c format in java for printing a statement , sometimes it gonna be more good if you are getting a input from the user in a string and printed out in a simple way OR you can use the another way for printed a statement with string data type which i taught you earlier codes*/
 System.out.printf("Your ex gf was %s respectively", getname());
 }
}  

/*In void setname method we just setting a name to a girlname*/
/* Follow me on :
   www.facebook.com/arslan.aliawan
     @arslanaliawan2   (twitter) */