Skip to main content

Posts

Showing posts with the label Learn

Java coding Standards - Code convention

In this tutorial you will learn how to make more strength to you java classes by adding code convention. What is Code Convention? Code convention place a important role while you are writing a simple Hello World java class or Software project. Code conventions are at the following places 1. File Names > File name should be a minimum of 8 character . > Every word should be begin with Upper case letter like MyDevice.java, HelloWorld.java , LearnProgrammingJava.java 2.Packages Names > Package should be always in lowercase letters like itsmypackage or com.project.ui or com.client or com.server 3.Class Names > Class Name are very similar to file name else your jvm (Java virtual Machine) will not recognize.. 4.Interface Names > Interface are like a small method which doesn't have implementation within a method and you can write interface like a method variables. > Every java will have atleast on class or interface ...

How To Install Sun Java (JDK/JRE) in Ubuntu , Fedora and OpenSuse Terminal

Learn how you can install Sun Java JDK (Java Developement Kit) / JRE ( Java Runtime Environment ) in Open source operating system like Ubuntu , Fedora and Open  Suse. JDK - Is used to develope the java application with the help of Java Libraries. JRE - Is used to run the java application Java is Independent platform and also more secure. To Install Sun Java (JDK/JRE) in Ubuntu sudo apt-get install sun-java6-jre sun-java6-plugin sudo update-alternatives –config java To Install Sun Java (JDK/JRE) in Fedora yum install sun-java6-jre sun-java6-plugin To Install Sun Java (JDK/JRE) in Open Suse yast install sun-java6-jre sun-java6-plugin