Java

Importance syntax rules when working with JAVA

March 5, 2017

Lets learn some of the basic and critical rules that we should know as JAVA developers. Being aware of a single shortcoming within yourself is far more useful than being aware of a thousand in someone else. 1. Name of Class should start with uppercase letter.Example:- MyFirstClass rather than myfirstclass2.Methods and variables of class should start […]

Read More

How to create executable JAR for TestNG class using intellij and gradle?

November 5, 2016

Problem:- How to create a executable JAR for testng class using intellij + gradle.Tool stack :– Intellij (IDE) + Gradle (Build tool) + TestNg (Testing framework) Share more learn more  Fb, G+,Twitter  GITHUB for complete code Step1:– Create a basic java class to display “HelloBuild!”, execution using TestNG. public class TestBuild { @Test public void test() { […]

Read More

How to fix Java language level error in Intellij?

October 6, 2016

Error:- java: strings in switch are not supported in -source 1.5  (use -source 7 or higher to enable strings in switch) Solution:-Why this error, as we are trying to access feature of java(in our case switch statements) using java 1.5 which is actually supported in higher version of java (7 in our case).IDE used is Intellij.Step1:-File > […]

Read More

Basics of HashTable in Java

September 12, 2016

We started with Array’s in Java and moved to ArrayList, today we would be focusing on Hash Table’s in Java. Further we would be comparing Hast Table with Hash Map. HashTable for happy living  What is a Hash Table? A Hashtable (is a data structure) is similar to ArrayList but here we don’t directly use […]

Read More

ArrayList in Java with Examples

March 1, 2015

We are already aware that in Java, array size are of fixed-size. Meaning that we have to assign a size to an array, which we cannot increase or decrease.Therefore to change the size, we have to make a new array and copy the data that we want – which is inefficient and a painful technique.To […]

Read More

Array in Java

February 15, 2015

What is an Array?An array is storehouse or we can say collection of similar type of data type.It is a data structure where we store similar elements. We can store only fixed set of elements in a java array(solution is ArrayList in Java) unlike vbscript where we can have dynamic arrays using Redim keyword.“Stop being […]

Read More

Exploring Data Type & Variables in Java

February 14, 2015

Java is a strongly typed programming language unlike Vbscript,Perl.In novice terms it means that all the variables in the Java programming language ought to have a particular data type.Example we cannot use a variable say “xyz” in the code before declaring this like:- String xyz;What is a Variable?Variable is the name given to the reserved […]

Read More

Key Components of JAVA

February 6, 2015

JDK, JRE and JVM are core concepts of Java programming language. As a novice in this language we should try to comprehend these concepts to visualize how it works logically.For more updates do follow us on Facebook,Twitter or Google+ Java Development Kit (JDK) consists of tools needed to create the Java programs,like Java libraries, Java […]

Read More

Introduction to JAVA

February 3, 2015

Have faith, love and courage to learn and share with others.That is what we at uftHelp believe in.We are starting this series of tutorials with focus on JAVA programming language.Do follow us on Fb,G+,Twitter for more updates. History:-It kick-started in 1991, when a group of Sun Microsystem engineers team (called as Green Team, led by James Gosling) put up their efforts […]

Read More

Static Keyword in Java

January 21, 2015

What is Static Keyword in Java? Static means a field or an method that belongs to the class, rather than to an instance of the class.In simple terms, it means that we can call a static method/field even without creating the object of a  class to which they belongs!.We can have a static method or […]

Read More