Popular posts from this blog
Java Access Specifiers and Modifiers
Following information is always help you out for Java access specifiers : Access specifiers, specify the access to our code for other classes – whether other classes can access or not and if permitted, to what extent they can access. Java includes access modifiers also which are quiet different from access specifiers. Here is the Java Standard Access Specifiers 1.Default 2.Public 3.Private 4.Protected All the access specifiers are Java keyword .and every access specifiers having its own accessibility propriety and thereby its should be written in lower-case only . 1. public Let us assume that the eat() method is public. If a member of a class is public 1. It can be accessed by the classes of the same package. That is, Lion of the same package can access it. 2. It can also be accessed by the classes of other packages also. That is, Peacock of other package also can access. public member of a class can be accessed by any class of any package as ever...
Java Chat Application or Java Messenger
Java Chat Messenger with Source Code If you want chat application in java you are at right place just reefer following java code to do your own java ChatApp. No worry about java packages, code construction and all just copy and paste the following code and enjoy java Messenger (Chat App). Requirements Eclipse (Any version ) Java Jdk 6 n above Operating system (Any Windows Mac or Linux) Steps1 : Make following java class ChatMessage Client ClientGUI Server ServerGUI Make sure all class should be in (Ex: Name.java) Steps2: import following java class in your java IDE's. ************************************************************************************************ ChatMessage.java import java.io.*; public class ChatMessage implements Serializable { protected static final long serialVersionUID = 1112122200L; static final i...
Comments
Post a Comment