Spiro Blog - Spiro the Tech Guru

SPIRO THE TECH GURU

Difference between method overloading and method overriding in java?

By Admin on Jun 2016

Method OverloadingMethod Overriding1)Method overloading is used to increase the readability of the program.Method overriding is used to provide the specific implementation of the m...

Read more

How to Generate Barcodes Using Java, Barcodes Example

By Admin on Jun 2016

Let us see how to generate Barcodes with java, we have different types of barcodes, among them i am going to explain about ‘Code 128‘ type Files RequiredBarCode128...

Read more

what use of Object Cloning in Java

By Admin on Jun 2016

The object cloning is a way to create exact copy of an object. For this purpose, clone() method of Object class is used to clone an object.The java.lang.Cloneable interface must be...

Read more

Access Modifiers in java

By Admin on Jun 2016

There are 4 types of java access modifiers: private default protected public There are many non-access modifiers such as static, abstract, synchronized, native, volatile, transient etc. Here, w...

Read more

Difference between object and class?

By Admin on Jun 2016

Difference between object and classThere are many differences between object and class. A list of differences between object and class are given below:No.ObjectClass1)Object is an instance o...

Read more

Why java uses Unicode System?

By Admin on Jun 2016

Before Unicode, there were many language standards:ASCII (American Standard Code for Information Interchange) for the United States.ISO 8859-1 for Western European Language.KOI-8 for Ru...

Read more

what is wrapper class in java

By Admin on Jun 2016

All the wrapper classes (Integer, Long, Byte, Double, Float, Short) are subclasses of the abstract class Number. The object of the wrapper class contains or wraps its respective primitive data type. c...

Read more

what is use Strictfp Keyword in Java

By Admin on Jun 2016

Java strictfp keyword ensures that you will get the same result on every platform if you perform operations in the floating-point variable. The precision may differ from platform to platform that is w...

Read more

can we create object for interface

By Admin on Jun 2016

we can not instatiate the interface (since do not have constructor). You cannot create object of an interface. the code that you mentioned creates an object of anonymous class that implements Runnable...

Read more

what do you mean by system out println in java?

By Admin on Jun 2016

System is a class in the java.lang package. out is a static member of the System class, and is an instance of java.io.PrintStream . println is a method of&...

Read more