javabasicstudy.blogspot.com
Basics Of Java: Adding Variables and Methods
http://javabasicstudy.blogspot.com/2011/10/adding-variables-and-methods.html
If you like any posts in this blog then click. This icon which is present under the post. Wednesday, 12 October 2011. Adding Variables and Methods. To a variable in a class it must be defined inside the class. At once a variable is added to a class it becomes instance variable. Int reg no;. Int mark 1;. Int mark 2;. Student - class name. Reg no,mark 1,mark - variables. No memory space will be allocated to the above class. Because class definitions create only the template. Body of the method.
javabasicstudy.blogspot.com
Basics Of Java: RPC and RMI operation in java
http://javabasicstudy.blogspot.com/2011/09/rpc-and-rmi-operation-in-java.html
If you like any posts in this blog then click. This icon which is present under the post. Tuesday, 27 September 2011. RPC and RMI operation in java. Import java.io.*;. Import java.net.*;. Import java.util.*;. Public static void main(String args[]). BufferedReader in=new BufferedReader(new InputStreamReader(System.in) ;. Socket clsct=new Socket("127.0.0.1",139);. DataInputStream din=new DataInputStream(clsct.getInputStream() ;. DataOutputStream dout=new DataOutputStream(clsct.getOutputStream() ;. System&#...
javabasicstudy.blogspot.com
Basics Of Java: September 2011
http://javabasicstudy.blogspot.com/2011_09_01_archive.html
If you like any posts in this blog then click. This icon which is present under the post. Wednesday, 28 September 2011. Finding class of the IP address. Import java.io.*;. Import java.net.*;. Import java.util.*;. 160; public static void main(String args[]). 160; {. 160; try. 160; {. Labels: Network Programs in Java. Tuesday, 27 September 2011. RPC and RMI operation in java. Import java.io.*;. Import java.net.*;. Import java.util.*;. Labels: Network Programs in Java.
javabasicstudy.blogspot.com
Basics Of Java: July 2011
http://javabasicstudy.blogspot.com/2011_07_01_archive.html
If you like any posts in this blog then click. This icon which is present under the post. Sunday, 31 July 2011. Program to Implement abstract class. Import java.io.*;. Import java.util.*;. 160; . Private String name;. 160; . Private int ssn;. 160; . Employee(String s,int a). 160; . 160; . 160; . Program to Implement Multilevel Inheritance. Import java.io.*;. 160; . Protected double x,y;. Point(double a,double b). 2 do ...
javabasicstudy.blogspot.com
Basics Of Java: Classes and Objects
http://javabasicstudy.blogspot.com/2011/10/classes-and-objects.html
If you like any posts in this blog then click. This icon which is present under the post. Wednesday, 12 October 2011. Java is a pure object oriented language. So java program contains only classes. Each class has its own data items and functions. The data items are called fields and the functions are called methods. A class is a user defined data type and it represents the template of the fields and its related methods. Object is a variable of type class and is used to access the class.
javabasicstudy.blogspot.com
Basics Of Java: Program for Hormonic series
http://javabasicstudy.blogspot.com/2011/10/program-for-hormonic-series.html
If you like any posts in this blog then click. This icon which is present under the post. Monday, 10 October 2011. Program for Hormonic series. Import java.io.*;. Public static void main(String args[]). Float s=0f;int n=0;. DataInputStream din=new DataInputStream(System.in);. System.out.println("Enter n value");. N=Integer.parseInt(din.readLine() ;. For(int i=1;i =n;i ). S=System.out.println("sum=" s);. System.out.println(e);. Subscribe to: Post Comments (Atom). There was an error in this gadget.
javabasicstudy.blogspot.com
Basics Of Java: Finding class of the IP address
http://javabasicstudy.blogspot.com/2011/09/finding-class-of-ip-address.html
If you like any posts in this blog then click. This icon which is present under the post. Wednesday, 28 September 2011. Finding class of the IP address. Import java.io.*;. Import java.net.*;. Import java.util.*;. Public static void main(String args[]). BufferedReader in=new BufferedReader(new InputStreamReader(System.in) ;. Socket clsct=new Socket("127.0.0.1",139);. DataInputStream din=new DataInputStream(clsct.getInputStream() ;. DataOutputStream dout=new DataOutputStream(clsct.getOutputStream() ;.
javabasicstudy.blogspot.com
Basics Of Java: CRC Using TCP
http://javabasicstudy.blogspot.com/2011/10/crc-using-tcp.html
If you like any posts in this blog then click. This icon which is present under the post. Monday, 24 October 2011. Import java.io.*;. Import java.net.*;. Import java.util.*;. Public static void main(String args[]). BufferedReader buf=new BufferedReader(new InputStreamReader(System.in) ;. Socket clsct=new Socket("127.0.0.1",139);. DataInputStream din=new DataInputStream(clsct.getInputStream() ;. DataOutputStream dout=new DataOutputStream(clsct.getOutputStream() ;. Int s[]=new int[11];. Int i,j=0;. String ...
javabasicstudy.blogspot.com
Basics Of Java: Bitstuffing in java
http://javabasicstudy.blogspot.com/2011/09/bitstuffing-in-java.html
If you like any posts in this blog then click. This icon which is present under the post. Tuesday, 27 September 2011. Import java.io.*;. Import java.net.*;. Import java.util.*;. Public static void main(String args[]). BufferedReader in=new BufferedReader(new InputStreamReader(System.in) ;. Socket clsct=new Socket("127.0.0.1",139);. DataInputStream din=new DataInputStream(clsct.getInputStream() ;. DataOutputStream dout=new DataOutputStream(clsct.getOutputStream() ;. String s1[]=new String[100];. Awesome I...