Posts

Showing posts from August, 2021

Java Coding Standards

  Java has been one of the most dominant programming languages from the beginning. In the current times of rapid advancements, where many programming languages that once had a strong presence in the industry are way long dead, Java is still relevant and speedily growing with the trends. According to statistics provided by oracle, as of December 2019, Java was ranked at number 1 programming language for recent applications such as DevOps, Artificial intelligence, Virtual reality, Big Data, Mobile and microservices development. This is why new developers are often more inclined towards learning java. This evergreen programming language seems to be the best choice to start with. Due to immense competition, to stand out from hundreds of java developers around you, your work must meet certain standards which you can achieve by following some Java coding best practices.   Java Best Practices An executable, error-free code might seem more than enough but that is not th...

Java Package

Image
Java Package   A   java package   is a group of similar types of classes, interfaces and sub-packages. Package in java can be categorized in two form, built-in package and user-defined package. There are many built-in packages such as java, lang, awt, javax, swing, net, io, util, sql etc. Here, we will have the detailed learning of creating and using user-defined packages. Advantage of Java Package 1) Java package is used to categorize the classes and interfaces so that they can be easily maintained. 2) Java package provides access protection. 3) Java package removes naming collision. Simple example of java package The  package keyword  is used to create a package in java. //save as Simple.java    package  mypack;   public   class  Simple{     public   static   void  main(String args[]){       System.out.println( "Welcome to package" ); ...

If you have any query or suggestions, Please feel free to write us

Name

Email *

Message *